update_tool
Create a draft version of an existing tool with updated code and changelog for bug fixes or improvements without replacing the current version.
Instructions
Create a new draft version of an existing ToolForge tool with updated code and a changelog. Use this when a tool needs a bug fix, improvement, new behavior, or compatibility update without replacing the current approved version immediately.
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": {
"tool_id": "<tool_id>",
"new_code": "<new_code>",
"version": "<version>",
"changelog": "<changelog>"
},
"name": "update_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_id | Yes | ||
| version | Yes | ||
| new_code | Yes | ||
| changelog | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||