update_file_content
Create or update files in a GitHub repository. Provide the file's SHA to update existing content, or omit SHA to create a new file.
Instructions
Create or update any file (e.g. README.md) in a GitHub repository using the authenticated token. Provide sha to update an existing file, omit to create a new one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | ||
| repo | Yes | ||
| path | No | README.md | |
| content | Yes | ||
| message | No | Update file via MCP | |
| sha | No | ||
| branch | No |