memory_commit_session
Records end-of-session decisions, errors, and corrections as structured observations for reuse in later sessions.
Instructions
Record end-of-session learnings from an ephemeral agent. Stores decisions, errors, corrections as structured observations.
Call this once when a session ends, with your own summary of it. The server then runs its learning pipeline in the background, and memory_bootstrap_profile serves the result to later sessions. Use memory_store_session to keep the raw conversation turns, and memory_harvest when the server should extract learnings from transcript files itself.
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_id": "<session_id>",
"agent_id": "<agent_id>",
"task_summary": "<task_summary>",
"outcome": "<outcome>"
},
"name": "memory_commit_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Errors encountered | |
| outcome | Yes | ||
| agent_id | Yes | Agent identifier | |
| decisions | No | Decisions made | |
| session_id | Yes | Unique session identifier | |
| task_summary | Yes | Brief description of what was attempted | |
| belief_updates | No | Belief updates | |
| user_corrections | No | User corrections |