---
title: "Summarize text into a set number of sentences, or into bullet points. Uses only what the text says and adds nothing. Input is bounded at 8000 characters, which is what makes a fixed price per call possible instead of per-token billing."
method: POST
path: "/v1/tools/summarize-text"
---

# Summarize text into a set number of sentences, or into bullet points. Uses only what the text says and adds nothing. Input is bounded at 8000 characters, which is what makes a fixed price per call possible instead of per-token billing.

`POST /v1/tools/summarize-text`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/tools/summarize-text`
- Auth: API key in header `X-Payment`

Paid per call via x402. Send without payment to get the exact price in the 402.

## Request body

- object
  - `text` string, required
  - `sentences` integer
  - `style` 'prose' | 'bullets'

## Response `200`

The tool output

## Other responses

- `400`: The input did not match the schema
- `402`: Payment required

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
