text_summary
Summarize text to a specified maximum length using truncation or sentence extraction.
Instructions
Summarize or truncate text to a maximum length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to summarize | |
| max_length | No | Maximum length (default: 500) | |
| method | No | Method to use - 'truncate' or 'sentences' (default: truncate) | truncate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |