github_create_file
Create a new file in any GitHub repository by specifying the owner, repository, file path, content, and commit message. Adds the file directly to your chosen branch through a single commit.
Instructions
Create a new file in a repository via a commit.
Args: owner: Repository owner repo: Repository name path: File path to create (e.g., 'docs/guide.md') content: File content (will be base64-encoded automatically) message: Commit message branch: Branch to commit to (empty = default branch) session_name: GitHub session to use
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| branch | No | ||
| content | Yes | ||
| message | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |