trigger_workflow
Trigger a GitHub Actions workflow on a specified branch with optional JSON inputs to automate builds, tests, or deployments.
Instructions
Trigger a GitHub Actions workflow
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": {
"workflow": "<workflow>"
},
"name": "trigger_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | main | |
| inputs | No | JSON string of inputs | |
| workflow | Yes | Workflow file name |