gitee_create_file
Create a new file in a Gitee repository by specifying the file path, commit message, and base64-encoded content. Optionally set branch, author, and committer details.
Instructions
Create a new file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"path": "<path>",
"message": "<message>",
"content": "<content>"
},
"name": "gitee_create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (user/org/enterprise path) | |
| repo | Yes | Repository path name | |
| path | Yes | File path | |
| message | Yes | Commit message | |
| content | Yes | Base64-encoded file content | |
| branch | No | Branch name (default branch if omitted) | |
| author_email | No | Author email | |
| author_name | No | Author name | |
| committer_email | No | Committer email | |
| committer_name | No | Committer name |