push_files
Commit multiple files in one push to a GitHub repository, specifying repository, branch, and commit message.
Instructions
Push multiple files as 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": {
"repo": "<repo>",
"branch": "<branch>",
"message": "<message>",
"files_json": "<files_json>"
},
"name": "push_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository in 'owner/repo' format. | |
| branch | Yes | Branch name to commit to. | |
| message | Yes | Commit message. | |
| files_json | Yes | JSON string of [{"path": "...", "content": "..."}, ...]. | |
| dry_run | No | If True, preview without executing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |