edit_script
Apply small instruction-driven changes to repo-local scripts/ files and save a .bak backup.
Instructions
Apply a small instruction-driven edit to a repo-local script and keep a .bak backup.
Context: Use for narrow edits to scripts/ files. For outside project folders, edit files directly or use create_directory_script.
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": {
"file_name": "<file_name>",
"instructions": "<instructions>"
},
"name": "edit_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| instructions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||