Ask before an agent spends
check_agent_spendCall before an AI agent spends money. Answers allow, approval (a person decides; call again with the same action_id, or agent_action, to see their answer) or deny, from the agent's mandate, with the reasons and what it has left this month. The action is recorded either way and matched to the card or account transaction when it appears.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| card | No | ||
| kind | No | purchase | |
| rail | No | card | |
| agent | Yes | ||
| payee | No | ||
| amount | Yes | ||
| purpose | No | ||
| currency | No | USD | |
| action_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||