summarize_text
Generate concise summaries of lengthy text using an LLM model. Specify content, model type, and custom instructions to tailor the output based on your needs.
Instructions
Summarize text using an LLM model.
⚠️ COST WARNING: This tool makes an API call to Whissle which may incur costs. Only use when explicitly requested by the user.
Args:
content (str): The text to summarize
model_name (str, optional): The LLM model to use. Defaults to "openai"
instruction (str, optional): Specific instructions for summarization
Returns:
TextContent with the summary.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
instruction | No | ||
model_name | No | openai |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Instruction"
},
"model_name": {
"default": "openai",
"title": "Model Name",
"type": "string"
}
},
"required": [
"content"
],
"title": "summarize_textArguments",
"type": "object"
}