# AgentToolbox Docs-Pack

> AgentToolbox Docs-Pack is a paid API for AI agents from agnttoolbx.agenttoolbox2026.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Fetches and extracts relevant excerpts from up to 5 documentation URLs, filtered by a natural-language query

## Facts

- Endpoint: POST https://agnttoolbx.agenttoolbox2026.workers.dev/v1/products/docs-pack/invoke?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoolbox-docs-pack-f5422301
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_evQoQ5YBMM2bxENERlvTS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agenttoolbox-docs-pack-f5422301 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Useful tools for agents. Small requests. Concrete results.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoolbox-docs-pack-f5422301/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agnttoolbx.agenttoolbox2026.workers.dev](https://www.zero.xyz/host/agnttoolbx.agenttoolbox2026.workers.dev/llms.txt)
