Text Summary

Summarise text as a paragraph, bullet points or a single sentence, up to the length you set.

Pay by wallet (x402) AI-generated summarize

Example

Example answer
{
  "style": "conventional",
  "summary": "This text is a brief test input designed for automated capability testing purposes.",
  "key_points": [
    "Text serves as a test input",
    "Intended for automated capability testing",
    "Brief and straightforward in nature"
  ],
  "word_count": 18,
  "detected_language": "English"
}

Inputs

FieldTypeRequiredWhat it is
textstringYesText to summarize
stylestringNoSummary style: paragraph, bullets, or one_sentence
max_lengthintegerNoApproximate max word count

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
stylestringAlways (present in every successful answer)
summarystringAlways (present in every successful answer)
key_pointsarrayAlways (present in every successful answer)
word_countintegerAlways (present in every successful answer)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "summarize",
    "inputs": {
      "text": "This is a test input for automated capability testing.",
      "style": "conventional"
    },
    "max_price_cents": 5
  }'

Limitations

  • Summaries can omit nuances and important details

    AI-generated summaries may omit nuances or context-dependent details from very long or technical documents

    What to do instead: For critical documents, compare the summary against the original to verify no essential details were lost

Related tools