getYieldHistoryTool
Fetch historical yield data for DeFi pools to analyze performance trends and inform investment decisions.
Instructions
Fetches and analyzes historical yield data for a specific pool from DefiLlama
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": {
"poolId": "<poolId>"
},
"name": "getYieldHistoryTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | The DefiLlama pool ID to fetch historical yield data for | |
| days | No | Number of days of historical data to return (max 365) |