Summarize Extractive
summarize_extractiveExtractive summary with TextRank (Mihalcea & Tarau 2004): sentences are split (abbreviation / initial / decimal aware), linked by stemmed content-word overlap, ranked with PageRank, and the top N are returned in original order. No LLM, no hallucination: every summary sentence is verbatim from the input, with its index, score and offset. Choose a sentence count or a ratio. Offline, deterministic; 200 KB input. Price: $0.003 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/summarize-extractive
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": "summarize_extractive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to summarise (English works best) | |
| ratio | No | Keep this fraction of sentences instead (overrides sentences) | |
| sentences | No | Sentences to keep |