update_file_upload
Update file upload metadata.
Tools
update_file_upload
Parameters
- repo: repo locator such as `teams/team_slug/repo_slug` or `username/repo_slug`.
- uuid: file upload UUID.
- description: new description text.
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": "update_file_upload",
"arguments": {
"repo": "teams/acme/webapp",
"uuid": "a1b2c3d4-...",
"description": "updated desc"
}
}
}'
Notes
- Updates the editable metadata for the upload.