run_workflow
Execute GitHub Actions workflows in your local environment with act, simulating events like push or pull_request. Control workflow selection, event type, environment variables, and secrets.
Instructions
Run a GitHub Actions workflow locally using act
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": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | Workflow file name (e.g., ci.yml) or job ID | |
| event | No | Event type to trigger (push, pull_request, workflow_dispatch, etc.) | push |
| dryRun | No | Show what would run without executing | |
| verbose | No | Enable verbose output for debugging | |
| env | No | Environment variables to set for the workflow | |
| secrets | No | Secrets to provide to the workflow | |
| eventData | No | Custom event data to simulate specific scenarios |