Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Check Gist Star
GIST_CHECK_GIST_STARCheck if the authenticated user has starred a specific gist. Returns True if the gist is starred, False if not starred or if the gist doesn't exist. This is a read-only, idempotent operation that requires authentication but no special permissions.
Create Gist
GIST_CREATE_GISTTool to create a new gist with one or more files. Use when you need to create a code snippet or text file to share. Note: Do not name your files 'gistfile' with a numerical suffix.
Create Gist Comment
GIST_CREATE_GIST_COMMENTTool to create a comment on a gist. Use when you need to add a comment to an existing gist.
Delete Gist
GIST_DELETE_GISTDelete a gist by ID. The result reports success for a 404 or 304 as well as a successful deletion, and reports a 403 as unsuccessful.
Delete Gist Comment
GIST_DELETE_GIST_COMMENTDelete a gist comment by gist ID and comment ID. The result reports success for a 404 as well as a successful deletion, and reports a 403 as unsuccessful.
Fork Gist
GIST_FORK_GISTTool to fork a gist. Use when you need to create a copy of an existing gist under your own account.
Get Gist
GIST_GET_GISTRetrieve a gist by ID, including its file metadata and available contents. File contents or the file list may be truncated.
Get Gist Comment
GIST_GET_GIST_COMMENTTool to get a specific comment on a gist. Use when you need to retrieve details of a particular comment given gist_id and comment_id.
Get Gist Revision
GIST_GET_GIST_REVISIONTool to retrieve a specific gist revision. Use when you need details of a past state for an existing gist by commit SHA.
List Gist Comments
GIST_LIST_GIST_COMMENTSTool to list comments on a gist. Use after confirming the gist_id to retrieve comments for a specific gist. Example: 'List comments for gist abc123'.
List Gist Commits
GIST_LIST_GIST_COMMITSTool to list the commit history of a gist. Use after you have the gist ID to review its revisions.
List Gist Forks
GIST_LIST_GIST_FORKSList a page of forks for a gist by ID, with optional pagination.
List Gists
GIST_LIST_GISTSList the authenticated user's gists, with optional update-time filtering and pagination.
List Public Gists
GIST_LIST_PUBLIC_GISTSTool to list public gists sorted by most recently updated. Use when you need to discover recent public gists. Note: with pagination, you can fetch up to 3000 gists.
List Starred Gists
GIST_LIST_STARRED_GISTSList a page of the authenticated user's starred gists, optionally filtered by update time. Select pages to retrieve additional results.
List User Gists
GIST_LIST_USER_GISTSTool to list public gists for a specified GitHub user. Use when you have a username and need their gists.
Star a Gist
GIST_STAR_GISTStar a GitHub gist. This operation is idempotent and will succeed even if the gist is already starred.
Unstar a Gist
GIST_UNSTAR_GISTUnstar a GitHub gist. The operation is idempotent; a not-found response is also reported as success, so success does not establish that the gist existed.
Update Gist
GIST_UPDATE_GISTTool to update a gist's description and files. Use when you need to modify gist content, rename files, or delete files from a gist.
Update Gist Comment
GIST_UPDATE_GIST_COMMENTTool to update a Gist comment. Updates an existing comment on a gist. You must be the author of the comment to update it.