haiku_analyze_portfolio
Analyze a wallet's DeFi portfolio to uncover yield opportunities. Returns current positions with APY options, collateral health, and tailored opportunities based on holdings. Use for portfolio optimization advice.
Instructions
Analyze a wallet's DeFi portfolio and surface relevant yield opportunities. Returns current positions enriched with available APY options, collateral health factors, and context-specific opportunities based on what the wallet actually holds. Use this when a user asks what they should do with their portfolio or wants yield optimization advice. Pair the output with haiku_discover_yields for broader market context, then use haiku_get_quote to execute.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"walletAddress": "<walletAddress>"
},
"name": "haiku_analyze_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletAddress | Yes | Wallet address (0x...) to analyze |