delete_script_file
Delete a specific file from a Google Apps Script project without affecting other files. Optionally force deletion even if dependencies exist.
Instructions
Delete a file from an Apps Script project while preserving all other files
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>",
"file_name": "<file_name>"
},
"name": "delete_script_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force deletion even if dependencies exist (default: false) | |
| file_name | Yes | Name of the file to delete | |
| script_id | Yes | Apps Script project ID |