deep_verify_claim
Verify claims using multi-source analysis to identify contradictions and assess accuracy across domains like finance, science, and politics.
Instructions
Deep multi-source verification with contradictions and domain analysis. Cost: $0.005 USDC. Service: groundtruth.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim | Yes | ||
| domain | No | finance|science|politics|tech|health | |
| require_sources | No |
Implementation Reference
- src/index.ts:166-223 (handler)The handler for all tool calls. When a tool named 'deep_verify_claim' is requested, this handler fetches the tool definition from a remote registry and executes it via the 'callTool' function.
server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; let registry: Registry; try { registry = await fetchRegistry(); } catch (error) { return { content: [ { type: "text", text: JSON.stringify({ error: "Failed to fetch tool registry", detail: String(error) }), }, ], }; } const tool = registry.tools.find((t) => t.name === name); if (!tool) { return { content: [ { type: "text", text: JSON.stringify({ error: `Tool '${name}' not found`, available_tools: registry.tools.map((t) => t.name), }), }, ], }; } try { const result = await callTool(tool, args as Record<string, unknown>); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { return { content: [ { type: "text", text: JSON.stringify({ error: "Tool call failed", tool: name, service: tool.service, detail: String(error), }), }, ], }; } });