Skip to main content

JSONRPC_TOOL_TIMEOUT

Constant JSONRPC_TOOL_TIMEOUT 

Source
pub const JSONRPC_TOOL_TIMEOUT: i32 = -32000;
Expand description

JSON-RPC error code: per-tool invocation exceeded DaemonConfig::tool_timeout_secs. Emitted by tool_core::classify_and_execute (Task 8 Phase 8c U6) when the tokio::time::timeout(tool_timeout, spawn_blocking(run)) outer timer fires. The detached JoinHandle is dropped — the OS thread may continue executing the tool closure but its result is discarded.

Source: Task 8 Phase 8c design §O (iter-2 Codex-approved wire contract).