update_context
Writes durable memory or a handoff checkpoint using a session ID so agents can persist scoped context across MCP-compatible tools and resume later.
Instructions
Write durable memory or a handoff checkpoint using session_id from start_session. At session end use finish_session to save the final handoff and close the gate.
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": {
"scope": "<scope>",
"context": "<context>"
},
"name": "update_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| scope | Yes | ||
| context | Yes | ||
| session_id | No | session_id returned by start_session. If missing/expired, call start_session and follow next_action before retrying. | |
| session_note | No |