discard_tool_draft
Discard uncommitted draft edits on a tool and reset it to its last published state. Only works if the tool has been published before.
Instructions
Discard uncommitted draft edits on a tool, resetting it to its last published state. Fails if it has never been published — there is no published state to fall back to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The tool's id. |