botindex_agent_trace
Retrieve premium reasoning traces for blockchain agents to analyze decision-making processes and validate on-chain actions.
Instructions
Premium reasoning trace for a specific agent. $0.05
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent ID |
Implementation Reference
- src/index.ts:213-229 (handler)The tool 'botindex_agent_trace' (and others) is registered dynamically based on the fetched catalog from the API. When called, it uses the 'fetchBotindex' function to execute the request corresponding to 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) }] }; }, );