Get agent spend caps
spend_cap_get0.002 USDC per call via x402, no key (unpaid call returns PaymentRequired; retry with params.meta["x402/payment"]). Advisory (complements your wallet's enforced hard limits): read the spend caps of a payer address plus what it spent in the last 24h (and in a session). Needs a key mts (X-API-Key header or apiKey argument). No key? call settle_trial_key (free, 50 calls/7 days). Full plan 1 USDC/30d incl. 1,000 calls via x402.
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": "spend_cap_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer | No | Payer / agent wallet address 0x… (40 hex). | |
| apiKey | No | Your MoneyTools Settle key mts_… (alternative to the X-API-Key header). No key: call settle_trial_key. | |
| sessionId | No | Your session / run id. |