Load session as context
fetch_session_contextLoad a saved or acquired coding-agent session as bounded starting context for a conversation, trimming it to fit a specified token budget.
Instructions
Load a session from your library (saved, or added with acquire_session) as starting context for this conversation, sized to max_tokens.
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": {
"id": "<id>"
},
"name": "fetch_session_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Library id: one of your saved sessions, or the library_id acquire_session returned for a marketplace listing. | |
| version | No | ||
| max_tokens | No | Context budget. Long sessions keep the opening request and the newest turns that fit; the middle is elided. | |
| include_tool_calls | No | Add one-line stubs for tool calls and results. |