Publish an agent's draft
publish_agent_versionPublish an agent's unpublished draft as a new live version so active calls and campaigns use it at once. The first call returns a preview and confirm token for user approval.
Instructions
Make the agent's unpublished draft live as a new version. Live calls and campaigns start using it at once. Needs the user's confirmation: the first call returns a preview and a confirm_token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "publish_agent_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Version note. | |
| agent_id | Yes | ||
| confirm_token | No | From the preview; send only after the user agreed. |