yield_alert_set
Register an APY threshold alert for a DeFi yield opportunity. Get notified when the best yield exceeds your set threshold, without polling continuously.
Instructions
Register an APY threshold alert. Returns alert_id to check later. FREE.
Fires when get_best_yield finds an opportunity exceeding threshold_apy. Use yield_alert_check with alert_id to poll status. Use yield_alert_delete to remove. Alerts persist in server memory.
Use this when: an agent wants to be notified when a yield opportunity opens without continuously calling get_best_yield.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Token to monitor: 'USDC', 'USDT', 'ETH', 'DAI' | |
| threshold_apy | Yes | Alert when best yield exceeds this APY. Example: 6.0 | |
| risk_profile | No | 'safe', 'moderate', or 'max_yield' | moderate |
| chain | No | 'all' or specific chain: 'Ethereum', 'Arbitrum', 'Base' | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||