Skip to main content

send_tool

Function send_tool 

Source
pub fn send_tool(input: &SendInput) -> Result<SendOutput, AppError>
Expand description

send MCP tool: cast a keystroke command, mirroring omni send. With relay, casts through the hub and reports delivery; otherwise returns the wire line so an agent can preview/generate the command.

ยงErrors

AppError::validation on a malformed command or missing token; AppError::internal on a relay I/O failure.