summarize_topic
Retrieves records related to a topic and groups them by date, tags, kind, or location to give you a structured overview of the subject.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Retrieve records related to a topic and group them by dimension. Default dimensions are date and tags. The retrieval layer mirrors ``ask_database``: vector if RAG is enabled, BM25 fallback otherwise. When to use: - The user wants a panorama / overview of a topic across many records. - You need data already grouped by category (date, tag, kind, location) so you can narrate the structure without doing the grouping yourself. Don't use for: - Direct questions with a single answer -> use ``ask_database``. - Listing candidate documents to drill into -> use ``search``. Examples: - {"topic": "bollette 2025", "cluster_by": ["date", "tags"]} - {"topic": "Keraglass", "cluster_by": ["kind", "location"]} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| success | Yes | ||
| audit_id | No | ||
| warnings | No | ||
| error_code | No | ||
| error_message | No | ||
| recovery_hint | No |