remove_agent_tool
Remove a tool from a single_prompt agent by name. Supports any tool type; changes are saved as a draft for versioned agents and can be stacked onto existing drafts.
Instructions
Remove a tool (by name) from a single_prompt agent. Works for any tool type (api_call, transfer_call, etc.). For versioned agents the change is saved as a draft — pass draft_id to stack onto an existing draft, then publish_draft to make it live. Use get_agent_prompt to see the agent's current tool names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The exact name of the tool to remove | |
| agent_id | Yes | The agent ID to remove the tool from | |
| draft_id | No | Existing draft to write into (stacks this change onto the draft's other edits). Omit to create a new draft from the live version. |