summarize_text
Condense long text or tool output into a concise summary using the Gateway's configured AI provider. Add optional instructions to tailor the result.
Instructions
Summarize text - e.g. long tool output - using the Gateway's configured AI provider, returning { summary } (up to about 512 tokens). The text and instructions are sent to that provider, which may be a remote API (Anthropic, OpenAI, Gemini, etc.) or a local model (Ollama), so don't pass anything you wouldn't send there. Errors if no provider is configured on the Gateway. Doesn't save anything to the knowledge base; to ask questions about a workspace's accumulated findings use chat_with_workspace instead.
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": {
"content": "<content>"
},
"name": "summarize_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The text to summarize. Must not be empty. | |
| workspace | No | Workspace name (not id). Created if it doesn't exist, and this call is recorded as a job in its history. Defaults to "default". | |
| instructions | No | Optional extra guidance for the summary, e.g. "focus on network endpoints" or "one paragraph". |