Skip to main content

remote_agents

Function remote_agents 

Source
async fn remote_agents(
    cx: &ToolCtx<'_>,
    action: &str,
    args: &Value,
    host: &str,
) -> Result<String>
Expand description

start, open, stop, set_seat, rename, env_get or env_set on another machine (host): srv signs the request as this agent and the other machine’s srv carries it out (agents.<action>, spec §4.3). Any other action refuses a host, so a call never quietly runs here when it was meant for there.