create_commit_status
Set commit statuses (success, failure, pending, error) in GitHub repositories to track build results and deployment states.
Instructions
Create a status for a commit (build passed/failed, etc.)
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>",
"sha": "<sha>",
"state": "<state>"
},
"name": "create_commit_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (username or organization) | |
| repo | Yes | Repository name | |
| sha | Yes | The SHA of the commit to create a status for | |
| state | Yes | The state of the status | |
| target_url | No | The target URL to associate with this status | |
| description | No | A short description of the status | |
| context | No | A string label to differentiate this status from others |