delete_script
Remove a Lua script from the scripts/ folder, optionally archiving it first. Sync afterward so the remote editor reflects the deletion.
Instructions
Delete a Lua script from the MCP repo's scripts/ folder, optionally archiving it first.
Context: After local deletion, sync the whole project or directory if the remote editor must remove it too.
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>"
},
"name": "delete_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | No | ||
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||