create_gist
Create a new GitHub gist by supplying files and their content. Choose public visibility or keep it secret (unlisted) with a direct URL.
Instructions
Create a new gist. A gist is a shareable snippet or small file. Supply one or more files with their content; each file key is the filename (including extension). Set public to true to make the gist visible to all GitHub users, or false (default) for a secret gist (unlisted but accessible by direct URL). Docs: https://docs.github.com/en/rest/gists/gists#create-a-gist
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files that make up the gist. Each key is the filename (e.g. "hello.rb") and each value is an object with a content field. | |
| public | No | Whether the gist is public (true) or secret (false, default). | |
| description | No | Description of the gist. |