botindex_crypto_tokens
Access verified crypto token data with price information to discover and validate blockchain assets, reducing hallucination risks in analysis.
Instructions
Token universe with latest price data from MemeRadar correlation engine. $0.02
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:213-229 (handler)The tool "botindex_crypto_tokens" (and others) is registered dynamically in a loop by fetching a tool catalog from the backend. The handler logic uses `fetchBotindex` to execute the API call based on the tool's defined path.
server.tool( tool.name, tool.description, zodSchema, async (args: Record<string, any>) => { const params: Record<string, string> = {}; if (tool.params) { for (const p of tool.params) { if (args[p.name] !== undefined) { params[p.name] = String(args[p.name]); } } } const data = await fetchBotindex(tool.path, params); return { content: [{ type: 'text', text: toToolText(data) }] }; }, );