summarize_recent
Summarize recent project messages within a chosen time window, grouped by thread, and cache the combined summary for retrieval via fetch_summary.
Instructions
Summarize all recent project messages within a time window.
Fetches messages from the last since_hours hours, groups them by
thread, and produces a combined project-wide summary. Results are
stored in the message_summaries table for fast retrieval via
fetch_summary.
Idempotent: if a summary already exists for the same time window (within 5-minute tolerance) it is returned from cache.
Parameters
project_key : str Project identifier (slug or human key). since_hours : float How far back to look (default 1 hour). llm_mode : bool Use LLM to refine the summary (default True). llm_model : str, optional Override LLM model name. max_messages : int Maximum messages to include (default 500, capped at 500). format : str, optional Output format (json or toon).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| llm_mode | No | ||
| llm_model | No | ||
| project_key | Yes | ||
| since_hours | No | ||
| max_messages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||