trigger-repository-dispatch
Trigger a repository_dispatch event with a custom payload to start a GitHub Actions workflow on any repository.
Instructions
Trigger a repository_dispatch event to start a workflow.
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>",
"event_type": "<event_type>"
},
"name": "trigger-repository-dispatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| event_type | Yes | Event type identifier (must match the on.repository_dispatch.types in the workflow file) | |
| client_payload | No | JSON payload to pass to the workflow |