summarize_text
Condenses input text into a shorter summary using the client’s language model via MCP sampling, with an optional maximum word count.
Instructions
Summarize text using the client's language model (MCP sampling).
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 | ||
| max_words | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |