dsh_read
Retrieve DeepSeek Harness session history: list all sessions, filter by title keyword, or fetch a session's user-assistant-tool dialogue. Use to recall or show what a DSH chat session did.
Instructions
Read DeepSeek Harness (DSH) historical sessions. Read-only, delegates to ~/.agents/bin/dsh-read.mjs (zstd-inflate; never mutates DSH data). action='list' lists all sessions (optional keyword filters by title); 'grep ' finds sessions whose title contains keyword; 'get <session_id>' prints the session's condensed [user→assistant→tool] dialogue (pass raw=true for original JSONL). Use when asked to recall/show what a DSH chat session did.
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": "dsh_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | for get: output raw JSONL instead of condensed flow (default false) | |
| action | Yes | list | grep | get | |
| keyword | No | for list: title filter; for grep: keyword to match in titles; for get: ignored | |
| session_id | No | target session id, required when action=get |