trigger_github_action
Trigger GitHub workflow dispatch events with custom inputs to automate CI/CD pipelines and development processes.
Instructions
Trigger a GitHub workflow dispatch event with custom inputs
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>",
"workflow_id": "<workflow_id>"
},
"name": "trigger_github_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Owner of the repository (username or organization) | |
| repo | Yes | Name of the repository | |
| workflow_id | Yes | The ID or filename of the workflow to trigger | |
| ref | No | The git reference to trigger the workflow on (default: main) | |
| inputs | No | Inputs to pass to the workflow (must match the workflow's defined inputs) | |
| token | No | GitHub personal access token (must have workflow scope) |