get_gist
Get a single GitHub gist by ID and retrieve its complete file content, description, public flag, owner, and associated URLs. For large files, returns a raw_url when inline content is truncated.
Instructions
Get a single gist by its id. Returns a gist-simple object with full file content, description, public flag, owner, forks_url, commits_url, and history. File content is included inline (up to the truncation threshold — very large files include a raw_url instead). Docs: https://docs.github.com/en/rest/gists/gists#get-a-gist
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": "get_gist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gist_id | Yes | The unique identifier of the gist. |