Delete a gist
delete_gistDelete a gist permanently by providing its ID. Call once to get a confirmation token, then pass it back to confirm the irreversible deletion.
Instructions
Permanently delete a gist. This is irreversible: the git repository with every revision and the database row are destroyed. The first call returns a short-lived confirmation token; ask the user for confirmation, then call again with confirm_token.
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": {
"gistId": "<gistId>"
},
"name": "delete_gist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gistId | Yes | ID of the gist — the "id" field returned by list_gists/search_gists, not its title | |
| confirm_token | No | Confirmation token from a previous delete_gist call for the same gist. Omit on the first call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gistId | Yes | ||
| deleted | Yes |