conduyt_ai_execute_actions
Executes ready actions from a Conduyt plan using its single-use confirmation token, applying permissions, tenant scope, and audit controls and returning per-action results.
Instructions
Copilot actions — APPLY. Executes the ready actions from a conduyt_ai_plan_actions result through the same routes the UI uses (permissions, tenant scope, visibility, audit all apply). Send the plan's actions array back exactly as received plus its confirmationToken (single-use, expires in 5 minutes, bound to the caller and the exact set — any edit is refused). Optionally narrow with selectedIds. Returns a per-action result; drafts are not sent. Sending the same token again REPLAYS the run (nothing runs twice; the response says replayed:true). A result with inFlight:true was started but never confirmed — inspect the record, then resume it explicitly with resumeIds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | The `actions` array from the plan, unmodified | |
| resumeIds | No | Re-run actions the previous response reported with inFlight:true (started but never confirmed, e.g. the connection dropped mid-apply). Check the record first — the write may already exist — and only after the result's resumableAt (the earlier attempt can no longer be running); earlier resumes are refused. Later actions wait behind an in-flight one (plan order). Never re-run automatically. | |
| selectedIds | No | First apply only: apply just these action ids (default: every ready action). A later call with the same token must resend the same selection — a run's action set cannot be widened. | |
| confirmationToken | Yes | The plan's confirmationToken |