dsh_attach_session
Attach an idle root session to the bridge with exact sessionId and expected preconditions. Reuse state to start reconciliation, enabling follow-up work.
Instructions
Attach one idle existing root DSH session to the bridge using its exact sessionId and fresh discovery preconditions. This creates or reuses bridge-local mapping/claim state and starts normal supervision reconciliation: it does not prompt DSH, create or rename a DSH session, return or persist conversation bodies, or change model routing. After success, use dsh_followup with a compact handoff when work should continue.
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": {
"sessionId": "<sessionId>",
"expectedUpdatedAt": "<expectedUpdatedAt>",
"expectedCwd": "<expectedCwd>",
"expectedTitle": "<expectedTitle>"
},
"name": "dsh_attach_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| allowBlank | No | ||
| expectedCwd | Yes | Absolute cwd copied from the selected dsh_find_sessions result. | |
| expectedTitle | Yes | Exact title copied from dsh_find_sessions, including null when no title is present. | |
| workspaceMode | No | Bridge-local cooperative workspace claim only; it does not configure the DSH sandbox. | exclusive-write |
| expectedUpdatedAt | Yes |