Delete a custom script
action1_delete_scriptDelete an existing custom script by its ID, with dry-run preview and YES confirmation before execution.
Instructions
Delete a custom script. Deletes an existing custom script specified by its ID. Perm: manage_scripts.
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": "action1_delete_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required to execute. Exact string "YES". | |
| dry_run | No | Default true (preview). Set false to execute. | |
| script_id | Yes | Provide a specific script ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| tool | No | ||
| type | No | ||
| status | No | ||
| dry_run | No | ||
| would_send | No | ||
| user_message | No | ||
| developer_message | No |