update_script
Update an existing script's code, name, or folder by specifying its ID. Keep automation scripts aligned with current requirements.
Instructions
Update an existing 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": {
"script_id": "<script_id>"
},
"name": "update_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | New Python code | |
| name | No | New script name | |
| folder_id | No | New folder ID | |
| script_id | Yes | Script ID to update |