gha_trigger_workflow
Trigger GitHub Actions workflows manually by sending workflow_dispatch events to specified repositories, branches, and workflows with custom inputs.
Instructions
Trigger a workflow_dispatch event
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>",
"workflow": "<workflow>",
"ref": "<ref>"
},
"name": "gha_trigger_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository in owner/repo format | |
| workflow | Yes | Workflow file name (e.g., 'ci.yml') | |
| ref | Yes | Branch or tag to run on | |
| inputs | No | Workflow inputs |