Manage DeepSeek conversation sessions
deepseek_sessionInspect and manage persistent chat sessions: list conversations, retrieve transcripts, clear messages, delete sessions, set system prompts, or import transcripts by session ID.
Instructions
Inspect and manage the persistent conversations used by the session_id parameter on the chat tools. Actions: list every session, get one session's full transcript, clear its messages while keeping the id, delete it outright, set its standing system prompt, or import a transcript wholesale.
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": {
"action": "<action>"
},
"name": "deepseek_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do. | |
| system | No | The standing system prompt, for `set_system`. | |
| messages | No | Transcript to load, for `import`. | |
| session_id | No | Required for every action except `list`. |