chain_price_feed
Chainlink price feed read — Read a Chainlink Data Feed on-chain (latestRoundData): price, decimals, description, updatedAt, age in seconds and a FRESH / CHECK_HEARTBEAT / STALE flag. pair= (built-in: ETH/USD, BTC/USD, LINK/USD, USDC/USD, DAI/USD, USDT/USD on ethereum; ETH/USD on base, arbitrum, optimism; ETH/USD, MATIC/USD on polygon) or feed= any aggregator proxy address; chain= default ethereum. Price: $0.003 USDC (Base, via x402).
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": {
"chain": "<chain>",
"pair": "<pair>"
},
"name": "chain_price_feed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | ETH/USD | |
| chain | Yes | ethereum |