delete_file_upload

Delete a file upload.

Tools

  • delete_file_upload

Parameters

  • repo: repo locator such as `teams/team_slug/repo_slug` or `username/repo_slug`.
  • uuid: file upload UUID.

Example

curl -X POST https://ghit.example/api/v1/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "delete_file_upload",
      "arguments": {
        "repo": "teams/acme/webapp",
        "uuid": "a1b2c3d4-..."
      }
    }
  }'

Notes

  • Deletes are permanent from the caller's perspective.