update_tool
Update a tool draft by providing the fields to change and the expected version; if a conflict occurs, re-read the current draft and retry.
Instructions
Update a tool draft. Read it first to get expectedVersion; on a 409 conflict, read again and retry. Pass only the fields you are changing (camelCase) in fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The tool's id. | |
| fields | Yes | The fields to change, as a JSON object (camelCase keys). | |
| expectedVersion | Yes | The version you last read — rejected with 409 if stale. |