Skip to main content

run_remote_agent_turn

Function run_remote_agent_turn 

Source
pub fn run_remote_agent_turn(
    session_id: String,
    slug: String,
    prompt: String,
    per_turn_consent: bool,
) -> Result<Value, String>
Expand description

Run one turn against a REMOTE-MCP agent from the roster (native-only). Privacy-gated via the job router (Classified/sanctuary never leaves the device), then issues an MCP tools/call to the provider and appends the reply as an agent message. Returns a ChatInferenceResult-shaped JSON.