cortex_token_price
Spot USD price for a token/coin. Provide 'id' (CoinGecko id, e.g. 'ethereum', 'usd-coin') or 'contract'+'chain'. x402 paid: $0.004 USDC on Base per call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cortex_token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | CoinGecko coin id, e.g. 'ethereum', 'usd-coin' | |
| chain | No | Chain: ethereum, base, arbitrum, polygon, optimism | ethereum |
| contract | No | Token contract (alternative to id) |