github_repos_create_or_update_file_contents
Create or update file contents in a GitHub repository by specifying owner, repo, path, and file content.
Instructions
Create or update file contents
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>"
},
"name": "github_repos_create_or_update_file_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| path | Yes | path | |
| repo | Yes | repo | |
| owner | Yes | owner |