Push multiple files
push_filesCreate, update, or delete multiple files in one commit to batch repository changes across Forgejo or Gitea.
Instructions
Create, update or delete several files in a single commit.
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>",
"message": "<message>",
"files": "<files>"
},
"name": "push_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| files | Yes | ||
| owner | Yes | Repository owner (user or organization) | |
| branch | No | ||
| message | Yes | ||
| new_branch | No |