# Tollkit Summarize

> Tollkit Summarize is a paid API for AI agents from attest.tollkit.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Summarizes a block of text into a concise output with a configurable word limit, billed per call via x402 micropayment in USDC.

## Facts

- Endpoint: POST https://attest.tollkit.dev/summarize?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-summarize-c2e67e50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zzJlEYNq2wdhJPUnDNPjC

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 tollkit-summarize-c2e67e50 -d '<json body>'
```

Example prompt: Can you summarize the following article text into no more than 80 words? [paste article text here] — no account needed, just pay per call.

## When to prefer this

Choose this endpoint when you need fast, cheap, per-call text summarization with no account registration or API key setup. Ideal for agents making occasional or sporadic summarization calls where signing up for a subscription service is overkill. The x402 micropayment model ($0.005 USDC) means you only pay for what you use. Not suited for inputs above 8,000 characters or for batch-heavy pipelines where per-call cost adds up.

## Known failure modes

- Input text exceeds 8,000 characters — endpoint returns an error/refusal rather than truncating
- max_words value above 250 is clamped silently to 250
- Payment failure via x402 — call is rejected if USDC micropayment is not settled
- Malformed JSON body returns a 4xx error
- Empty or missing text field returns an error

## How this service works

Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.

## Output

A short summary of the submitted text, constrained to the requested word count (default 60, max 250). The endpoint refuses input above 8,000 characters rather than silently truncating it.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to summarize. Refused above 8,000 characters rather than truncated."
  },
  "max_words": {
   "type": "integer",
   "default": 60,
   "description": "Clamped to 250."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollkit-summarize-c2e67e50/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from attest.tollkit.dev](https://www.zero.xyz/host/attest.tollkit.dev/llms.txt)
