onchain-price
Reads spot price, reserves, and pool address for a specified Base mainnet AMM pool by symbol so you can inspect single-pool liquidity and pricing.
Instructions
Spot price, reserves and pool address for one Base mainnet AMM pool.
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": {
"symbol": "<symbol>"
},
"name": "onchain-price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. |