Deploy agent
deploy_agentFirst deployment of your selected saved draft. Call without confirmation_code for a preview, show it to the user and obtain authorization, then repeat the same definition/target with the code. Checks skills, source approvals and existing deploy readiness/billing gates. Returns a background task; poll get_task_status for deployment state. An existing deployment is identified without redeploying.
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": {
"definition_id": "<definition_id>",
"target_workspace": "<target_workspace>"
},
"name": "deploy_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition_id | Yes | ||
| target_workspace | Yes | ||
| confirmation_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | No | ||
| preview | No | ||
| task_id | No | ||
| coverage | No | ||
| request_id | No | ||
| retrieved_at | No |