retrieve_session_context
Retrieve stored session context by session ID, key, or context type. Access persistent user preferences and project conventions to restore previous work state.
Instructions
Retrieve stored session context
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>"
},
"name": "retrieve_session_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Specific key to retrieve (optional) | |
| limit | No | Maximum number of results (default: 50) | |
| session_id | Yes | Session identifier (use '*' for all sessions) | |
| context_key | No | Alias for 'key' (tool compatibility) | |
| context_type | No | Filter by context type (optional) |