get_optimal_allocation
Optimize capital split across multiple DeFi protocols to maximize risk-adjusted yield, respecting TVL constraints and risk limits.
Instructions
Split capital optimally across multiple DeFi protocols for maximum risk-adjusted yield.
Unlike get_best_yield (one protocol), this tool returns a weighted multi-protocol allocation that maximizes APY while respecting TVL constraints and risk limits. Ideal for amounts >$10,000 where diversification improves risk-adjusted returns.
Use this when: an agent needs to deploy capital across multiple protocols. Do NOT use for: single-protocol analysis (use get_best_yield or explain_risk).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Token to allocate. Examples: 'USDC', 'USDT', 'ETH', 'DAI' | |
| total_amount_usd | Yes | Total capital to deploy in USD. Example: 100000 | |
| risk_profile | No | 'safe' (score>=75), 'moderate' (>=55), 'max_yield' (>=35) | moderate |
| max_protocols | No | Maximum number of protocols to split across (2-5). Default: 3 | |
| chains | No | Chains to consider. Default: ['Ethereum','Arbitrum','Base']. Pass ['all'] for all chains. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||