update_settings
Update or retrieve agent settings such as daily spending limits, transaction caps, preferred tokens, and notification webhooks. Use 'get' to view current settings without an API key.
Instructions
Update or retrieve an agent's settings. Requires api_key for updates. Use action='get' to retrieve (no api_key needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | 'update' (default) or 'get' | |
| api_key | No | Your api_key (required for updates) | |
| agent_id | Yes | UUID of the agent | |
| settings | No | Nested settings object (alternative to flat params) | |
| auto_yield | No | Enable automatic yield optimization | |
| max_daily_spend | No | Maximum daily spend limit in USDC (alias: daily_spend_limit) | |
| max_spend_per_tx | No | Alias for max_single_transaction_spend | |
| preferred_tokens | No | Preferred token symbols | |
| daily_spend_limit | No | Alias for max_daily_spend | |
| notification_webhook | No | Webhook URL for notifications | |
| max_single_transaction_spend | No | Maximum single transaction limit in USDC (alias: max_spend_per_tx) |