Authorize a spend and atomically reserve the budget (PAID $0.25)
v1_agent_treasury_authorizeAuthorize an agent spend and atomically reserve the budget to prevent overspending, with idempotent requests and configurable TTL.
Instructions
Authorize a spend and atomically reserve the budget (PAID $0.25)
Remote route: POST /v1/agent/treasury/authorize (0.25 USD x402/base/usdc on eip155:8453).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "v1_agent_treasury_authorize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| intent | No | ||
| policy | No | ||
| agent_id | No | ||
| principal | No | ||
| requestId | No | ||
| amount_usd | No | ||
| ttl_seconds | No | ||
| policy_version | No | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No |