{"uid":"cap_evQoQ5YBMM2bxENERlvTS","slug":"agenttoolbox-docs-pack-f5422301","name":"AgentToolbox Docs-Pack","description":"Useful tools for agents. Small requests. Concrete results.","url":"https://agnttoolbx.agenttoolbox2026.workers.dev/v1/products/docs-pack/invoke?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["urls","query","max_excerpt_chars"],"properties":{"urls":{"type":"array","items":{"type":"string","maxLength":512},"maxItems":5,"minItems":1},"query":{"type":"string","maxLength":120,"minLength":2},"max_excerpt_chars":{"type":"integer","default":4000,"maximum":6000,"minimum":1000}},"additionalProperties":false},"version":{"type":"string","const":"0.1.0"},"agent_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"quote_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"prepared_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"review_secret_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Optional SHA-256 hex of caller-kept atbr_ secret (32 random bytes). Bound to this paid request; never send the raw secret here."},"payment_amount_atomic":{"type":"string","pattern":"^(0|[1-9][0-9]{0,77})$","description":"Canonical decimal USDC atomic-unit string (6 decimals). Protocol uint256 maximum 115792089237316195423570985008687907853269984665640564039457584007913129639935. No business maximum. Product minimum: 10000. Must equal the exact quoted/signed amount."},"max_charge_usdc_atomic":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,77})$","description":"Canonical decimal USDC atomic-unit string (6 decimals). Protocol uint256 maximum 115792089237316195423570985008687907853269984665640564039457584007913129639935. No business maximum."},{"type":"integer","maximum":9007199254740991,"minimum":0}],"description":"Caller spending cap. Canonical decimal string recommended; safe integer numbers accepted for compatibility. Does not select an amount."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JSDiNIQVE089Hn5q_GlEs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and extracts relevant excerpts from up to 5 documentation URLs, filtered by a natural-language query","exampleAgentPrompt":"Can you pull the relevant sections from these three docs pages about authentication — https://docs.example.com/auth, https://docs.example.com/tokens, and https://docs.example.com/oauth — and answer: how do I refresh an access token? Keep excerpts under 4000 characters.","exampleUseCases":[{"title":"API integration research from docs","prompt":"I'm trying to integrate Stripe webhooks — can you fetch https://stripe.com/docs/webhooks and https://stripe.com/docs/webhooks/best-practices and extract the parts that explain how to verify webhook signatures? Limit excerpts to 5000 characters."},{"title":"Library usage lookup from README","prompt":"Check out https://github.com/langchain-ai/langchain/blob/master/README.md and https://python.langchain.com/docs/get_started/introduction and tell me: how do I set up a basic chain with a custom prompt template? Use up to 4000 chars of excerpts."},{"title":"Debugging help from official docs","prompt":"Fetch https://docs.python.org/3/library/asyncio-task.html and https://docs.python.org/3/library/asyncio-eventloop.html and extract anything relevant to the question: why does asyncio.run() raise a RuntimeError if called from a running event loop? Keep it under 3000 characters."}],"resultDescription":"Returns query-relevant text excerpts extracted from the provided documentation URLs, trimmed to the requested character limit. Content is filtered to match the query topic, so the agent receives only the most pertinent passages rather than full page dumps.","failureModes":["URL unreachable or returns non-200 status — excerpt for that URL may be empty or missing","URL content is not text/HTML (e.g. PDF, binary) — extraction may fail or return garbled content","Query too vague to filter meaningfully — may return generic or unrelated passages","All URLs return empty or bot-blocked content — result may be empty","max_excerpt_chars too low for meaningful content — truncated or no useful excerpts returned","More than 5 URLs provided — request rejected by schema validation"],"whenToPreferThis":"Choose this endpoint when an agent needs to retrieve and filter documentation content from specific known URLs based on a focused question — particularly when the agent already knows which docs pages to consult and needs targeted excerpts rather than a full web search. Ideal for developer agents doing API integration research, code generation grounded in official docs, or answering technical questions using authoritative sources. Prefer over general web search when the source URLs are known and the content is technical documentation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T18:39:14.610Z","isFirstParty":false,"canonicalSlug":"agenttoolbox-docs-pack-f5422301"}