Check spending limits and today's spend
policy_statusSee a spending policy's limits, how much was spent today and how much is left. Owners who pass admin_key also get the spending log (last 50 payments).
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": {
"policy_id": "<policy_id>"
},
"name": "policy_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| admin_key | No | Owner only: the admin_key, to include the spending log. | |
| policy_id | Yes | The policy_id (starts with 'pol_'). |