get_token_price
Retrieve the current USD price of any token before executing a swap to determine its value.
Instructions
Returns the current USD price of a token. Use this before swaps to understand value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_symbol | Yes | Token symbol (e.g. "ETH", "USDC", "WBTC") or contract address. | |
| chain_id | No | Chain ID where the token exists. |