delete_file
Remove a file from a GitHub repository. Provide the file path, commit message, and SHA to complete the deletion.
Instructions
Delete a repository file
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>",
"message": "<message>",
"sha": "<sha>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ||
| repo | Yes | ||
| path | Yes | ||
| message | Yes | ||
| sha | Yes | ||
| branch | No | ||
| committer | No | ||
| author | No |