edit_code
Modifies existing code according to specific instructions, enabling developers to adapt and refine scripts efficiently. Use this tool to implement changes directly based on clear, actionable guidance.
Instructions
Edits the given code based on instructions.
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": {
"code": "<code>",
"instructions": "<instructions>"
},
"name": "edit_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to edit | |
| instructions | Yes | Editing instructions |