Attach to Neovim
nvim_attachAttach to a running Neovim instance as an additional UI, allowing you to observe and interact with the editor without terminating the user's session.
Instructions
Attach as an additional UI to an already-running Neovim instance. The instance belongs to the user: nvim_close will refuse to terminate it. Note that Neovim sizes the screen to the smallest attached UI, so the requested size can shrink what the user sees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | Requested screen width. | |
| rows | No | Requested screen height. | |
| address | Yes | RPC endpoint of a running Neovim, as printed by `nvim --listen`: a Unix socket path (/tmp/nvim.sock) or a Windows named pipe (\\.\pipe\nvim.1234.0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | ||
| mode | Yes | ||
| rows | Yes | ||
| address | Yes | ||
| sessionId | Yes |