text_extractive_summary
Extractive summary (TextRank, offline) — Summarize any text by picking its most central sentences verbatim - TextRank over TF-IDF sentence similarity, fully offline and deterministic (no AI, so nothing is invented and results are repeatable). Returns the summary, the chosen sentences with their positions and scores, compression ratio and the top-ranked sentences. Optional: sentences (1-30, default 5) or ratio (0-1), query= to bias toward a topic. Up to 100,000 chars. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "text_extractive_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | e.g. The Federal Reserve held interest rates steady on Wednesday. Officials said inflation remains elevated but has eased over the past year. Mr. Powell noted that the labor market is still strong. Markets rallied after the announcement. Analysts expect the first rate cut in early 2027. Bond yields fell as traders priced in cuts. |