tools_run
Execute statistical analysis tools to generate interactive HTML reports from business data sources like Shopify, Stripe, and Google Analytics.
Instructions
Execute an analysis tool. Returns a shareable interactive HTML report URL.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | Name of the tool to execute | |
| taskList | Yes | Contains inputs: dataset, userContext, column_mapping, module_parameters |
Implementation Reference
- src/index.js:105-118 (handler)The server.setRequestHandler(CallToolRequestSchema, ...) handler intercepts tool execution requests (including "tools_run" if that is a valid tool name in the remote catalog) and proxies them to the remote MCP server via the `remoteClient.callTool` call.
server.setRequestHandler(CallToolRequestSchema, async (request) => { try { const result = await remoteClient.callTool({ name: request.params.name, arguments: request.params.arguments || {}, }); return result; } catch (err) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } });