Run a task with AI
run_taskRun a supported employee task. Costs 1 shared credit. Uses the existing task reservation and version; result goes to review, never to external recipients. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.
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": {
"request_id": "<request_id>",
"task_id": "<task_id>",
"version": "<version>"
},
"name": "run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| task_id | Yes | ||
| version | Yes | ||
| request_id | Yes | Stable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result. |