draw
Request units from a shared quota pool for an agent, returning an allow/deny decision, reason, and hash-chained receipt.
Instructions
Draw units from a pool for one agent. Returns allowed or denied, a reason, and a hash-chained receipt. Costs 1 credit per draw call, allowed or denied; an idempotency key replay is free.
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": {
"pool_id": "<pool_id>",
"agent_id": "<agent_id>",
"units": "<units>"
},
"name": "draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | ||
| pool_id | Yes | ||
| agent_id | Yes | ||
| idempotency_key | No |