Close remote profile
close_remote_profileDisconnect a remote backend profile opened in this session when work is done or to free a slot; the backend ID stops working immediately.
Instructions
Disconnect a profile that open_remote_profile opened in this session. Use when: done with a remote backend, or to free a slot. Instead: list_backends to see what is open. Requires: --mcp-tools remote. Behavior: changes no files; the id stops working and calls stuck on it end. A repeat fails with 'no open backend'. A connection lent by an axross pane (lent in list_backends) is refused. Time limit: 15 s. Returns: {backend, closed: true}.
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": {
"backend": "<backend>"
},
"name": "close_remote_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend | Yes | The backend id open_remote_profile returned, e.g. 'profile:nas'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | Yes | ||
| backend | Yes |