Gitea: Delete file
gitea_delete_fileDelete a file from a Gitea repository by providing the current file SHA for conflict detection and specifying the commit message, branch, and target path.
Instructions
[UNIFIED] Delete a file from a Gitea repository. Requires current file SHA for conflict detection.
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": {
"site": "<site>",
"owner": "<owner>",
"repo": "<repo>",
"path": "<path>",
"sha": "<sha>",
"message": "<message>"
},
"name": "gitea_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| path | Yes | ||
| repo | Yes | ||
| site | Yes | ||
| owner | Yes | ||
| branch | No | ||
| message | Yes |