agent adl update (Developer Preview)

Update an Agentforce Data Library.

This command is available as a developer preview. The command isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don’t implement functionality developed with these commands or tools.

Updates the label, description, or other mutable properties of an existing data library.

Flag Name (Long)Flag Name (Short)Description
‑‑api‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑content‑fieldsN/AType: Value

Comma-separated list of content fields for KNOWLEDGE libraries (triggers re-indexing).
‑‑descriptionN/AType: Value

New description for the data library (max 255 characters).
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑library‑id‑iType: Value
Required

Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
‑‑name‑nType: Value

New display name for the data library (max 80 characters).
‑‑restrict‑to‑public‑articlesN/AType: Boolean

Restrict to public Knowledge articles only (KNOWLEDGE libraries, triggers re-indexing).
‑‑retriever‑idN/AType: Value

Swap the retriever for a RETRIEVER library (must be an active Custom Retriever ID).
‑‑target‑org‑oType: Value
Required

Username or alias of the target org. Not required if the target-org configuration variable is already set.

Update the label of a data library:

Update the description:

Update Knowledge library content fields (triggers re-indexing):

Restrict Knowledge library to public articles: