Skip to content

Commit

Permalink
Update agent.create.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jshackell-sfdc authored Dec 12, 2024
1 parent 031ff27 commit 1201f94
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions messages/agent.create.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ Create an agent in your org from a local agent spec file.

To generate an agent spec file, run the "agent generate spec" CLI command, which outputs a JSON file with the list of jobs and descriptions that the new agent can perform. Then specify this generated spec file to the --job-spec flag of this command, along with the name of the new agent.

When this command finishes, your org contains the new agent, which you can then edit in the Agent Builder UI. This command also retrieves all the metadata files associated with the new agent to your local DX project.
When this command finishes, your org contains the new agent, which you can then edit in the Agent Builder UI. The new agent already has a list of topics and actions that were automatically created from the list of jobs in the provided agent spec file. This command also retrieves all the metadata files associated with the new agent to your local DX project.

To open the new agent in your org's Agent Builder UI, run this command: "sf org open agent --name <api-name-of-your-agent>". If your agent's name includes spaces, replace them with underscores to get the API name. For example, if you specified --name "My Agent", the API name is "My_Agent".
To open the new agent in your org's Agent Builder UI, run this command: "sf org open agent --name <api-name-of-your-agent>".

# flags.job-spec.summary

Path to an agent spec file.

# flags.name.summary

Name of the new agent.
API name of the new agent.

# examples

- Create an agent called "Customer Support Agent" in an org with alias "my-org" using the specified agent spec file:
- Create an agent called "CustomerSupportAgent" in an org with alias "my-org" using the specified agent spec file:

<%= config.bin %> <%= command.id %> --name "Customer Support Agent" --job-spec ./config/agentSpec.json --target-org my-org
<%= config.bin %> <%= command.id %> --name CustomerSupportAgent --job-spec ./config/agentSpec.json --target-org my-org

0 comments on commit 1201f94

Please sign in to comment.