ssh_set_workspace
Connect or reconnect one SSH host and set its remote working directory after validation; omit the path to keep the current directory.
Instructions
Connect or explicitly reconnect one host and set its remote working directory after validation. First connection starts at the login home. Omitting path keeps the current directory. Does not affect other hosts.
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": {
"hostId": "<hostId>"
},
"name": "ssh_set_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| hostId | Yes | Required stable host ID returned by ssh_list_hosts. Names are not accepted. |