summarize_thread
Retrieve a thread's participants, message count, and newest messages for summarization. Use it to inspect conversation context, while search_messages finds threads and fetch_inbox drains unread mail.
Instructions
Return {thread_id, summary:{participants, total_messages}, messages} for you to summarize; this tool does not generate prose or mark mail read. Find thread_id with search_messages or fetch_inbox. per_thread_limit selects the newest messages with full bodies, returned oldest first. It defaults to 50 and caps at 1000, with no continuation cursor; total_messages counts the entire thread, even when messages is truncated. Use search_messages for text matching and fetch_inbox to drain unread mail. No matching thread returns zero messages.
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": {
"project_key": "<project_key>",
"thread_id": "<thread_id>"
},
"name": "summarize_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | The first message's id, or the thread_id its replies carry. | |
| project_key | Yes | Absolute path of the repository's primary checkout. | |
| per_thread_limit | No | Newest messages to return; positive page size, default 50, capped at 1000. |