deploy_agent_tool
Deploy a generated agent metadata to Salesforce. Returns deployment status and login URL for the agent.
Instructions
Deploy a previously generated agent to Salesforce.
Rules:
The agent must be generated by the generate_agent_metadata tool
Always ask the user first if they want to deploy the agent to their Salesforce org first
If the deployment fails, return the error message from the deploy_agent tool If there is no deployment result, return "Deployment failed" If the deployment Status is None, also return "Deployment failed", but keep the login URL so user can inspect the deployment logs In the deployment result, include the login URL of the Salesforce instance so the user can login to the agent.
Args:
agent_metadata: The agent metadata to deploy as a dictionary
Returns:
dict: The deployment status from Salesforce
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_metadata | Yes |