# Agent Toolbox - Text & URL Summarizer

> Agent Toolbox - Text & URL Summarizer is a paid API for AI agents from agent-toolbox.zafermemon87.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

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.

## Facts

- Endpoint: POST https://agent-toolbox.zafermemon87.workers.dev/v1/summarize?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-toolbox-text-url-summarizer-4ae439ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H230KMSTJU5xdHsmTiihI

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 agent-toolbox-text-url-summarizer-4ae439ea -d '<json body>'
```

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

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-toolbox-text-url-summarizer-4ae439ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-toolbox.zafermemon87.workers.dev](https://www.zero.xyz/host/agent-toolbox.zafermemon87.workers.dev/llms.txt)
