Developer Tools

Gist

GitHub Gist is a service provided by GitHub that allows users to share code snippets, notes, and other text-based content. It supports both public and private gists, enabling easy sharing and collaboration.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Check Gist Star

    Check 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.

  • Get Gist

    Retrieve a gist by ID, including its file metadata and available contents. File contents or the file list may be truncated.

  • Get Gist Comment

    Tool 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

    Tool 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

    Tool 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

    Tool to list the commit history of a gist. Use after you have the gist ID to review its revisions.

  • List Gist Forks

    List a page of forks for a gist by ID, with optional pagination.

  • List Gists

    List the authenticated user's gists, with optional update-time filtering and pagination.

  • List Public Gists

    Tool 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

    List a page of the authenticated user's starred gists, optionally filtered by update time. Select pages to retrieve additional results.

  • List User Gists

    Tool to list public gists for a specified GitHub user. Use when you have a username and need their gists.