set_agent_budget
Set or remove an agent's USD spending limit to control costs; raising a limit restarts a budget-stopped agent and returns the updated balance.
Instructions
Define ou remove o teto de gasto (USD) de um agente. limit_usd=null remove o teto (ilimitado). É também o laço de recuperação: elevar o teto faz um agente parado por budget voltar a rodar no próximo turno. Retorna o saldo recalculado.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | UUID do agente | |
| limit_usd | Yes | Teto em USD (>= 0) ou null para remover o teto |