Create a DSH session
dsh_create_sessionCreate a persistent DSH session from an absolute allowlisted working directory, optionally with an allowlisted model or reasoning effort, to start a DeepSeek Harness ACP session.
Instructions
Create a fresh persistent DSH session via ACP session/new. cwd must be absolute, inside the configured allowlist, and is realpath-canonicalised before use. model / reasoning_effort are only accepted when explicitly allowlisted by the bridge.
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": {
"cwd": "<cwd>"
},
"name": "dsh_create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute working directory for the new session. | |
| model | No | Optional model id; must be allowlisted (DSH_CODEX_ALLOWED_MODELS). | |
| profile | No | Optional DSH profile; must equal the bridge profile. | |
| reasoning_effort | No | Optional reasoning effort; must be allowlisted (DSH_CODEX_ALLOWED_REASONING_EFFORTS). |