gha_generate_workflow
Generate a GitHub Actions workflow YAML for CI/CD. Specify the trigger event, branch, and programming language to create a ready-to-use workflow with triggers and jobs.
Instructions
Generate a GitHub Actions workflow YAML with triggers and jobs
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_name": "<workflow_name>",
"trigger": "<trigger>",
"language": "<language>"
},
"name": "gha_generate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch filter (default main) | |
| api_key | No | API key for authentication | |
| trigger | Yes | Primary trigger event | |
| language | Yes | Programming language or platform (e.g. node, python, go) | |
| workflow_name | Yes | Name of the workflow |