Summarize text
summarize_textGenerate an extractive summary by ranking sentences on meaningful word frequency, returning top-scoring sentences in original order. Works offline without external calls.
Instructions
Produce an extractive summary by scoring each sentence on the frequency of the meaningful words it contains and returning the highest-scoring sentences in their original order. Works fully offline; no model call is made.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to summarize. | |
| max_sentences | No | How many sentences the summary may contain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |