edit_tool
Modify an existing tool's source code, language, name, description, or input schema without altering properties you omit.
Instructions
Edit a tool, including its source code. Omit properties that you do not want to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The Typescript code for the tool you are editing. The code should be a valid Typescript function named `execute` that takes one argument called `input`. When called, the `input` provided will match the schema of the `input_schema` of the tool. | |
| name | No | The name of the tool you are editing. This is what you will use to call the tool. | |
| tool_id | Yes | The ID of the tool you are editing. | |
| language | Yes | The language of the tool you are editing. This must be either 'TYPESCRIPT' or 'PYTHON'. | |
| description | No | A description of the tool you are editing. This will help you or other agents or people pick the appropriate tool in the future. | |
| input_schema | Yes | The input schema for the tool. This must be provided as a valid JSON Schema object. |