Evaluate Approval Policy
alterlab_policy_evaluateShow what the signed-in user's approval policy would decide for a planned batch of actions: auto (runs without asking), ask (needs the user's approval) or deny (refused), with the rule ids and reasons. Nothing runs and no limit is used. Use before alterlab_task_act to know whether the batch will pause for approval. Pass the domains, the actions and, per action, its risk class; an action without a class is treated as submit. This tool cannot create or change policies: the user does that in the dashboard.
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": {
"domains": "<domains>",
"actions": "<actions>"
},
"name": "alterlab_policy_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount the batch commits, in major units of currency | |
| recipe | No | ||
| actions | Yes | The planned browser actions, as for alterlab_task_act | |
| domains | Yes | Sites the actions run on | |
| currency | No | ||
| task_label | No | ||
| risk_classes | No | Risk class per action: navigate, input, draft, submit, message, money, legal_attestation or human_only | |
| facts_verified | No | How many written values are backed by verified facts. Default none | |
| counterparty_class | No |