agent Commands
Commands to work with agents.
- agent activate
Activate an agent in an org. - agent adl create
Create an Agentforce Data Library. - agent adl delete
Delete an Agentforce Data Library. - agent adl file add
Add files to an existing Agentforce Data Library. - agent adl file delete
Delete a file from an Agentforce Data Library. - agent adl file list
List files in an Agentforce Data Library. - agent adl get
Get details of an Agentforce Data Library. - agent adl list
List Agentforce Data Libraries in an org. - agent adl status
Get indexing status of an Agentforce Data Library. - agent adl update
Update an Agentforce Data Library. - agent adl upload
Upload a file to an SFDRIVE Agentforce Data Library. - agent create
Create an agent in your org using a local agent spec file. - agent deactivate
Deactivate an agent in an org. - agent generate agent-spec
Generate an agent spec, which is a YAML file that captures what an agent can do. - agent generate authoring-bundle
Generate an authoring bundle from an existing agent spec YAML file. - agent generate template
Generate an agent template from an existing agent in your DX project so you can then package the template in a second-generation managed package. - agent generate test-spec
Generate an agent test spec, which is a YAML file that lists the test cases for testing a specific agent. - agent mcp asset list (Developer Preview)
List the assets (tools, prompts, and resources) for an MCP server in the catalog. - agent mcp asset replace (Developer Preview)
Replace the asset set of an MCP server in the API Catalog. - agent mcp create (Developer Preview)
Create an MCP server in the API Catalog. - agent mcp delete (Developer Preview)
Delete an MCP server from the API Catalog. - agent mcp fetch (Developer Preview)
Fetch the live assets (tools, prompts, resources) advertised by an MCP server. - agent mcp get (Developer Preview)
Get a single MCP server registered in the API Catalog. - agent mcp list (Developer Preview)
List the MCP servers registered in the API Catalog. - agent mcp update (Developer Preview)
Update an MCP server registered in the API Catalog. - agent preview
Interact with an agent to preview how it responds to your statements, questions, and commands (utterances). - agent preview end
End an existing programmatic agent preview session and get trace location. - agent preview send
Send a message to an existing agent preview session. - agent preview sessions
List all known programmatic agent preview sessions. - agent preview start
Start a programmatic agent preview session. - agent publish authoring-bundle
Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent. - agent test create
Create an agent test in your org using a local test spec YAML file. - agent test list
List the available agent tests in your org. - agent test results
Get the results of a completed agent test run. - agent test resume
Resume an agent test that you previously started in your org so you can view the test results. - agent test run
Start an agent test in your org. - agent test run-eval (Beta)
Run rich evaluation tests against an Agentforce agent. - agent trace delete
Delete trace files from an agent preview session. - agent trace list
List the available trace files that were recorded during all agent preview sessions. - agent trace read
Read trace files from an agent preview session. - agent validate authoring-bundle
Validate an authoring bundle to ensure its Agent Script file compiles successfully and can be used to publish an agent.