Skip to content

Feat: Add initial Gist tools #340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

xodene
Copy link
Member

@xodene xodene commented Apr 23, 2025

Feature: Initial tools for managing Gists.

  • ListGists

list_gists

  • Description: List gists for a user.
  • Parameters:
    • username (string, optional): GitHub username (omit for authenticated user's gists).
    • since (string, optional): Only gists updated after this time (ISO 8601 timestamp).
    • page (number, optional): Page number.
    • perPage (number, optional): Results per page.
image
  • CreateGist
    Description: Create a new gist.
  • Parameters:
    • description (string, optional): Description of the gist.
    • filename (string, required): Filename for gist file
    • content (string, required): Content for gist file
    • public (boolean, optional): Whether the gist is public (default: false).
image
  • UpdateGist

update_gist

  • Description: Update an existing gist.
  • Parameters:
    • gist_id (string, required): ID of the gist to update.
    • description (string, optional): Updated description of the gist.
    • filename (string, required): Filename to update or create.
    • content (string, required): Content for the file.

The screenshot below demostrates editing an existing Gist with the new content from the opened file
image

Closes: #183

@xodene xodene force-pushed the xodene/feat-gists-tools-start branch from 668de2c to 2eb1887 Compare May 1, 2025 22:09
@xodene xodene marked this pull request as ready for review May 1, 2025 22:30
@Copilot Copilot AI review requested due to automatic review settings May 1, 2025 22:30
@xodene xodene requested a review from a team as a code owner May 1, 2025 22:30
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GIST tools
1 participant