create_gist
Generate and share code snippets or text files as GitHub gists. Specify public or private visibility, add descriptions, and include multiple files for organized sharing.
Instructions
Create a new gist
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Description of the gist | |
files | Yes | Files that make up this gist. The key is the filename. | |
public | Yes | Whether the gist is public |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the gist",
"type": "string"
},
"files": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"content": {
"description": "Content of the file",
"type": "string"
}
},
"required": [
"content"
],
"type": "object"
},
"description": "Files that make up this gist. The key is the filename.",
"type": "object"
},
"public": {
"description": "Whether the gist is public",
"type": "boolean"
}
},
"required": [
"public",
"files"
],
"type": "object"
}