web_extract_ai_summary
Extract content from any URL and generate Claude AI-powered summaries for quick information retrieval and analysis.
Instructions
Extract content from any URL and get a Claude AI-powered summary. Costs $0.15 USDC per request via x402 on Base.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to summarize |
Implementation Reference
- src/index.ts:423-438 (handler)The registration and handler for the web_extract_ai_summary tool. It uses apiPost to call the external service for AI summary extraction.
server.registerTool( "web_extract_ai_summary", { title: "AI Page Summary", description: `Extract content from any URL and get a Claude AI-powered summary. Costs $0.15 USDC per request via x402 on Base.`, inputSchema: { url: z.string().url().describe("URL to summarize"), }, annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, }, async ({ url }) => { const data = await apiPost(`${WEB_EXTRACT_API}/api/v1/extract/ai-summary`, { url }); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } );