update_session_context
Append new information to existing session context under a specified key, preserving prior data for ongoing conversations, workflows, preferences, or projects.
Instructions
Append to existing session context without overwriting
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>",
"context_type": "<context_type>",
"key": "<key>",
"additional_value": "<additional_value>"
},
"name": "update_session_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Context key identifier | |
| metadata | No | Optional metadata | |
| session_id | Yes | Session identifier | |
| context_type | Yes | Type of context (conversation, workflow, preference, project) | |
| idempotency_key | No | Optional idempotency key for safe retries | |
| additional_value | Yes | Value to append (JSON string for complex data) |