- Notifications
You must be signed in to change notification settings - Fork3.1k
adding repos consolidation#1261
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Read commits", | ||
| "readOnlyHint": true | ||
| }, | ||
| "description": "Read commit data from a GitHub repository. Supports getting a single commit or listing commits.", | ||
| "inputSchema": { | ||
| "properties": { | ||
| "author": { | ||
| "description": "For 'list' method: Author username or email address to filter commits by", | ||
| "type": "string" | ||
| }, | ||
| "include_diff": { | ||
| "default": true, | ||
| "description": "For 'get' method: Whether to include file diffs and stats in the response. Default is true.", | ||
| "type": "boolean" | ||
| }, | ||
| "method": { | ||
| "description": "Method to use: 'get' for getting a single commit, 'list' for listing commits", | ||
| "enum": [ | ||
| "get", | ||
| "list" | ||
| ], | ||
| "type": "string" | ||
| }, | ||
| "owner": { | ||
| "description": "Repository owner", | ||
| "type": "string" | ||
| }, | ||
| "page": { | ||
| "description": "Page number for pagination (min 1)", | ||
| "minimum": 1, | ||
| "type": "number" | ||
| }, | ||
| "perPage": { | ||
| "description": "Results per page for pagination (min 1, max 100)", | ||
| "maximum": 100, | ||
| "minimum": 1, | ||
| "type": "number" | ||
| }, | ||
| "repo": { | ||
| "description": "Repository name", | ||
| "type": "string" | ||
| }, | ||
| "sha": { | ||
| "description": "For 'get': Commit SHA, branch name, or tag name (required). For 'list': Commit SHA, branch or tag name to list commits of (optional).", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "method", | ||
| "owner", | ||
| "repo" | ||
| ], | ||
| "type": "object" | ||
| }, | ||
| "name": "commit_read" | ||
| } |
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Write operations (create, update, delete, push_files) on repository files", | ||
| "readOnlyHint": false | ||
| }, | ||
| "description": "Write operations (create, update, delete, push_files) on repository files.\n\nAvailable methods:\n- create: Create a new file in a repository.\n- update: Update an existing file in a repository. Requires the SHA of the file being replaced.\n- delete: Delete a file from a repository.\n- push_files: Push multiple files to a repository in a single commit.\n", | ||
| "inputSchema": { | ||
| "properties": { | ||
| "branch": { | ||
| "description": "Branch to perform the operation on", | ||
| "type": "string" | ||
| }, | ||
| "content": { | ||
| "description": "Content of the file (required for create and update methods)", | ||
| "type": "string" | ||
| }, | ||
| "files": { | ||
| "description": "Array of file objects to push (required for push_files method), each object with path (string) and content (string)", | ||
| "items": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "content": { | ||
| "description": "file content", | ||
| "type": "string" | ||
| }, | ||
| "path": { | ||
| "description": "path to the file", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "path", | ||
| "content" | ||
| ], | ||
| "type": "object" | ||
| }, | ||
| "type": "array" | ||
| }, | ||
| "message": { | ||
| "description": "Commit message", | ||
| "type": "string" | ||
| }, | ||
| "method": { | ||
| "description": "The write operation to perform on repository files.", | ||
| "enum": [ | ||
| "create", | ||
| "update", | ||
| "delete", | ||
| "push_files" | ||
| ], | ||
| "type": "string" | ||
| }, | ||
| "owner": { | ||
| "description": "Repository owner (username or organization)", | ||
| "type": "string" | ||
| }, | ||
| "path": { | ||
| "description": "Path to the file (required for create, update, delete methods)", | ||
| "type": "string" | ||
| }, | ||
| "repo": { | ||
| "description": "Repository name", | ||
| "type": "string" | ||
| }, | ||
| "sha": { | ||
| "description": "Blob SHA of the file being replaced (required for update method)", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "method", | ||
| "owner", | ||
| "repo", | ||
| "branch", | ||
| "message" | ||
| ], | ||
| "type": "object" | ||
| }, | ||
| "name": "file_write" | ||
| } |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.