grok_workflow
Execute a predefined Grok Build workflow by name, such as audit-plan or verify-diff. Supply JSON arguments for configuration and receive a JSON result with success status, summary, and run ID.
Instructions
Run a named Grok Build workflow (e.g. audit-plan, verify-diff).
name: workflow name from .grok/workflows/ (list via grok_workflows)
args_json: JSON string of workflow args, e.g. '{"target":"HEAD"}'
Returns JSON: {"workflow","success","summary","run_id","handoff"}
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": {
"name": "<name>"
},
"name": "grok_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| args_json | No | {} | |
| timeout_secs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |