Check authority for an action
twin_authoriseCheck consequential actions against active grants before sending, paying, or committing. Returns allow when covered; otherwise ask so you can draft and request approval.
Instructions
Call before any consequential action (sending, paying, committing, writing to live systems). 'allow' means an active grant covers it. 'ask' means stop, prepare a draft and request approval with twin_request_approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action you intend to take, for example email.send. | |
| workflow | Yes | ||
| attempt_id | No | For enforcement hooks only: the id of the tool call about to run. It spends one use of an approval; repeating the same attempt_id is safe. Agents leave this unset. |