session_context
Manage shared context values in a session by setting or getting data with a key. Use to store and retrieve session-specific information.
Instructions
Set or get a shared context value within a 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": {
"sessionId": "<sessionId>",
"action": "<action>",
"key": "<key>"
},
"name": "session_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | No | ||
| action | Yes | ||
| sessionId | Yes |