Approve or discard one run output
recipes_runs_outputs_decideApprove or discard one output (a clip, the stream recap, a moment) of a recipe run. Free.
REST: POST /v1/recipes/{recipeInstanceId}/runs/{runId}/outputs/{outputKey}/decision.
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": {
"recipeInstanceId": "<recipeInstanceId>",
"runId": "<runId>",
"outputKey": "<outputKey>",
"decision": "<decision>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "recipes_runs_outputs_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The run (`run.id` from GET /v1/recipes/{recipeInstanceId}/runs). | |
| decision | Yes | `approved` releases the output's posts; `discarded` posts nothing of it. | |
| outputKey | Yes | One output of the run (`run.outputs[].key`). | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| recipeInstanceId | Yes | The started recipe (`id` from GET /v1/recipes). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||