Start a GitHub workflow
gh_actions_dispatchStart a GitHub Actions workflow that has a workflow_dispatch trigger: workflow is its file name (deploy.yml) or id from gh_actions, ref the branch or tag (default the main branch), inputs the workflow's own inputs. It runs whatever the workflow does, deploys included, so check the workflow first.
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>"
},
"name": "gh_actions_dispatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch or tag to run on. Default the main branch. | |
| repo | Yes | owner/name, like shopwhizzy/client-shop (or a GitHub address). | |
| inputs | No | The workflow's own workflow_dispatch inputs. | |
| workflow | Yes | File name like deploy.yml, or id, from gh_actions. |