gh_run_workflow
Trigger a GitHub Actions workflow dispatch when you need to run a workflow manually. Pass inputs as key=value pairs to customize the run.
Instructions
Trigger a workflow dispatch event for a GitHub Actions workflow.
The workflow must support an on.workflow_dispatch trigger.
Use fields to pass inputs as key=value pairs (e.g. ["key=value"]).
This tool is disabled unless MCP_GH_ALLOW_WRITE_COMMANDS=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | main | |
| repo | Yes | ||
| owner | Yes | ||
| fields | No | ||
| workflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| run_id | No | ||
| message | Yes |