summarize
Extract central sentences from long articles or documents to compress context into key points using term-frequency scoring.
Instructions
Perform extractive text summarization to identify and return the most informative, central sentences from long articles or documents based on term-frequency scoring. Use to compress long context into key points. Pure, deterministic, and idempotent.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw text content to summarize (maximum 50,000 characters). | |
| num_sentences | No | Number of key summary sentences to extract (integer between 1 and 10, default 3). |