pub struct PaneOpenRequest {Show 15 fields
pub view: String,
pub file: Option<String>,
pub url: Option<String>,
pub cwd: Option<String>,
pub title: Option<String>,
pub tab_id: Option<String>,
pub split_direction: Option<String>,
pub split_reference_block_id: Option<String>,
pub focus: Option<bool>,
pub tree_expanded: Option<bool>,
pub floating: Option<bool>,
pub reuse_editor_pane: Option<bool>,
pub select: Option<Vec<String>>,
pub connection: Option<String>,
pub auth: Option<UiAutomationAuth>,
}Expand description
POST /api/v1/pane/open — open a new pane.
Structurally equivalent to rpc_types::CommandPaneOpenData (same wire
fields) so the two are interchangeable on the wire; srv deserializes into
CommandPaneOpenData, mcp serializes from this type.
Fields§
§view: String§file: Option<String>§url: Option<String>§cwd: Option<String>§title: Option<String>§tab_id: Option<String>§split_direction: Option<String>§split_reference_block_id: Option<String>§focus: Option<bool>§tree_expanded: Option<bool>§floating: Option<bool>§reuse_editor_pane: Option<bool>Some(true), view: "editor" only: explicit opt-in to reuse an
already-open Editor pane in the caller’s own tab (identified via
split_reference_block_id) instead of always creating a new one.
Set only by the OpenEditor MCP tool — NOT inferred from other
fields, since other legitimate pane.open callers also set
split_reference_block_id for split placement without wanting
reuse (EditorViewModel.openToTheSide/openInTerminal).
select: Option<Vec<String>>view: "files" only: names (or full paths) inside file to select
once the Files pane has listed it. Set by the OpenFiles MCP tool.
connection: Option<String>The connection the pane works on (an SSH host, wsl://<distro>);
absent for this computer. An SSH host needs auth.
auth: Option<UiAutomationAuth>The calling agent’s signed identity, for an SSH connection.
Trait Implementations§
Source§impl Clone for PaneOpenRequest
impl Clone for PaneOpenRequest
Source§fn clone(&self) -> PaneOpenRequest
fn clone(&self) -> PaneOpenRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more