set_spending_policy
Set organization and current-credential daily spending ceilings in USD cents. Requires billing scope. Set funding_policy=null to keep automatic replenishment off; enabling it requires an explicit amount, threshold, daily maximum, future expiry and mandate reference. Returns applied limits and automatic_funding state; does not itself purchase credits.
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": {
"body": "<body>"
},
"name": "set_spending_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Daily organization and credential ceilings plus funding_policy (null by default, or an explicit bounded replenishment mandate). |