distill_session
Summarize a stored chat session into 3-8 standalone facts and save them to knowledge memory. Poll the background job for completion.
Instructions
Distill a chat session's stored history into durable knowledge facts.
Submits a background job (same lifecycle as research jobs — poll
get_research_job(job_id)) that summarizes the session into 3-8
standalone facts on the cheap coding model and saves them to the
knowledge memory with source='session:'.
Args: session: Name of a stored chat session.
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": {
"session": "<session>"
},
"name": "distill_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |