delete_file
Deletes a file from an allowed GitHub repository path, enforcing the same allowlist, denylist, and rate limits used for pushes.
Instructions
Delete a file under the allowed path prefixes (same allowlist/denylist as push). Rate-limited like pushes.
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": {
"owner": "<owner>",
"repo": "<repo>",
"path": "<path>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| branch | No | ||
| message | No |