update_gist
Modify existing GitHub gists by updating file content, adding new files, or deleting files through the GitHub MCP Server.
Instructions
Update an existing gist. Provide files to add/update, or set a filename's content to empty string to delete it.
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": {
"gist_id": "<gist_id>"
},
"name": "update_gist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gist_id | Yes | Gist ID | |
| description | No | New description (omit to keep current) | |
| files | No | Dictionary of filename to new content. Empty string deletes the file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |