keep_run_workflow
Run a Keep workflow with optional alert or incident payload and inputs. Preview execution as a dry-run by omitting confirm, or set confirm to true to execute and create a new run.
Instructions
Run a workflow. POST /workflows/{workflow_id}/run with optional type, body, and inputs. type defaults to alert. An alert body may set status and severity. Keep defaults a missing alert status to firing and a missing alert severity to info. Query event_type and event_id replay a stored alert. Incident replay is not implemented. Each run creates a new execution. Omit confirm for a dry-run preview.
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_id": "<workflow_id>"
},
"name": "keep_run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Event payload nested as body. Extra keys are sent through. Keep fills a missing alert name, id, and lastReceived. | |
| type | No | Event class for a manual run. Keep defaults an omitted type to alert. | |
| inputs | No | ||
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| event_id | No | Replay query param event_id. | |
| event_type | No | Replay query param event_type, used with event_id. Incident replay is not implemented in Keep. | |
| workflow_id | Yes | Keep workflow id. |