Living Stack: authorize_action
livingstack.authorize_actionValidate a local host action against session scope, risk class, and cost cap without executing it, returning approval or rejection.
Instructions
Gate one local host action against scope risk and budget; never executes it.
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": {
"session_id": "<session_id>",
"action_id": "<action_id>",
"action_type": "<action_type>"
},
"name": "livingstack.authorize_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | No | Risk class. | read |
| target | No | Target description; only its digest is retained. | |
| action_id | Yes | Stable caller action ID. | |
| session_id | Yes | Session identifier. | |
| action_type | Yes | Action category. | |
| estimated_cost_usd | No | Maximum reserved cost. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||