{"uid":"cap_H230KMSTJU5xdHsmTiihI","slug":"agent-toolbox-text-url-summarizer-4ae439ea","name":"Agent Toolbox - Text & URL Summarizer","description":"Summarize text (up to 60,000 characters) or a public web page or PDF by URL with Llama 3.1 8B, short, medium or long, optionally focused on a topic.","url":"https://agent-toolbox.zafermemon87.workers.dev/v1/summarize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"A public http(s) URL"},"text":{"type":"string"},"focus":{"type":"string","description":"Optional topic to focus on"},"length":{"enum":["short","medium","long"],"type":"string"}}},"responseSchema":{"type":"json","example":{"url":"https://en.wikipedia.org/wiki/Lighthouse","model":"llama-3.1-8b-instruct","plain":"A lighthouse is a tower, building, or other structure designed to emit light to aid navigation for maritime pilots at sea or on inland waterways. Lighthouses mark dangerous coastlines, hazardous shoal","length":"short","summary":"A lighthouse is a tower, building, or other structure designed to emit light to aid navigation for maritime pilots at sea or on inland waterways. Lighthouses mark dangerous coastlines, hazardous shoals, reefs, rocks, and safe entries to harbors, and assist in aerial navigation.","input_chars":60000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_51Nx936DloVqHi3wPoQYj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes text (up to 60,000 characters) or a public web page/PDF URL using Llama 3.1 8B, with configurable length and optional topic focus.","exampleAgentPrompt":"Can you give me a medium-length summary of this article — https://en.wikipedia.org/wiki/Artificial_intelligence — focused on the topic of machine learning?","exampleUseCases":[{"title":"Digest long research paper","prompt":"Summarize this PDF for me — https://arxiv.org/pdf/2303.08774 — give me a long summary focused on the methodology section."},{"title":"Quick TL;DR of news article","prompt":"Give me a short summary of this news article: https://www.bbc.com/news/technology-68178083"},{"title":"Condense pasted report text","prompt":"I've got a long internal report I'll paste here — can you give me a medium-length summary focused on budget implications? Here's the text: [report text]"}],"resultDescription":"A JSON object containing the generated summary text (under 'summary' and 'plain' keys), the model used (llama-3.1-8b-instruct), the requested length setting, and the number of input characters processed.","failureModes":["URL is not publicly accessible or returns a non-200 status","Text exceeds 60,000 character limit","PDF or document at URL is password-protected or inaccessible","Invalid length enum value provided","Neither 'url' nor 'text' field provided","URL points to non-text content (e.g. image, video)","Payment not processed or x402 challenge not fulfilled"],"whenToPreferThis":"Choose this endpoint when you need to summarize arbitrary web pages, PDFs, or raw text at a low per-call cost ($0.003 USDC) with configurable output length (short/medium/long) and optional topic focus. Ideal for agents that need to quickly digest public URLs or large text blobs without managing their own LLM infrastructure. Prefer over self-hosted summarization when cost predictability and zero setup are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:35:16.346Z","isFirstParty":false,"canonicalSlug":"agent-toolbox-text-url-summarizer-4ae439ea"}