pub fn schedule_agent_job(
session_id: String,
agent_slug: Option<String>,
prompt: String,
) -> Result<Value, String>Expand description
Schedule one agent turn as a background job (queued, off the chat thread). Routed local-first; a remote-MCP agent’s turn is sent out over MCP. Returns the created job as JSON.