Gitea: Create file
gitea_create_fileCreate a new file in a Gitea repository and commit it with a message, with optional branch and author details.
Instructions
[UNIFIED] Create a new file in a Gitea repository with commit message.
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": {
"site": "<site>",
"owner": "<owner>",
"repo": "<repo>",
"path": "<path>",
"content": "<content>",
"message": "<message>"
},
"name": "gitea_create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes | ||
| site | Yes | ||
| owner | Yes | ||
| branch | No | ||
| content | Yes | ||
| message | Yes | ||
| new_branch | No | ||
| author_name | No | ||
| author_email | No | ||
| content_is_base64 | No |