set_spend_limit
Set or update an agent's session spend cap in USDC. Resets the session window so previous spending no longer counts.
Instructions
Set or update the agent's session spend cap (USDC raw, 6 decimals). Resets the session window — anything spent before this call no longer counts. Operator-defined; distinct from the on-chain creditLimit. Requires an agent key (floe_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit_raw | Yes | Cap in raw USDC units (6 decimals), positive. e.g. "1000000" = $1. |