Search Columns
search_columnsFIND COLUMNS by name across the trading_rt tables — which table has a column like "supply",
"fee", "pool" or "trader", with its exact name and type. query is a case-insensitive
substring of the column name ("_" is literal), or a LIKE pattern when it contains %
(e.g. "Price_Ohlc%"); table optionally narrows the search to table names matched the same
way (e.g. "by_token"). The two combine: query "price" with table "by_token" finds the price
columns of the by-token tables only.
Returns at most 100 rows — exactly 100 means there are more, so narrow
query or table. Rows are ordered by table, then by the column's position in it. It reads
the column catalog only, never table data. Then call describe_table for the full column list of one table, and
execute_sql to query it.
These are NOT in the trading data, so a column search for them comes back empty — use the
tool instead:
token holders → _token_holders (top holders by current balance, EVM chains); no holder-count column exists anywhere
contract events / logs / topics → _find_events, or _tx_events for known transactions
contract calls / method signatures → _find_calls
an address's transfers or balances → _transfers_in / _transfers_out / _address_profile
liquidity, TVL, pool reserves → not available in this dataset; for the pools and DEXes a token trades on use token_dex_venues
a wallet's holdings and PnL → trader_positions TransactionHeader_Fee / TransactionHeader_FeePayer are the transaction's network fee (in the chain's native coin) and its payer, not a DEX or liquidity-provider fee. chain_capabilities lists which _ tools exist; chain_search_columns searches the per-chain databases (one per call). Each row: Database, Table, Column, Type.
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": {
"query": "<query>"
},
"name": "search_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Column-name text to find, case-insensitive. A substring such as "supply" or "Supply_Total" ("_" is literal), or a LIKE pattern when it contains % (e.g. "Supply%", "%_Address"). No backslashes. | |
| table | No | Optional table-name filter, matched like query (e.g. "trades", "by_pool", "tokens%"). Empty = every table. No backslashes. | |
| database | No | Optional. Only trading_rt can be searched with this tool; empty (the default) means trading_rt, any other value is refused — use chain_search_columns for the per-chain databases. |