v1.6.1

Tool Timeout Matrix

Last updated


The timeout each tool adapter applies, and the caps long-running built-ins declare.
toolRegister.Dispatch wraps every call — built-in, script and MCP — in the tool's registered timeout (DEFAULT_TOOL_TIMEOUT unless overridden — 15 min since v1.1.2, 1 min before). Adapters apply their own limit inside that ceiling:
AdapterAdapter defaultConfigurableEffective ceiling
Built-in15 minDef.Timeout per toolDef.Timeout
Script (script_*)15 min (300 s before v1.1.2)tool.json "timeout": <seconds> in ~/.config/agenvoy/tools/script/<name>/ — also registered as the dispatch timeoutThe tool.json value, else 15 min
MCP HTTPTransport ResponseHeaderTimeout 15 min (60 s before v1.1.2)n/a15 min dispatch default
MCP stdiononen/a15 min dispatch default

Long-running script tools emit running name=... elapsed=Ys/Zs to the daemon log every 30 s for visibility. The API tool adapter (api_*) and its Endpoint.Timeout were Removed in v1.3.2 together with user-defined API tools.
Long-running built-ins declare their own caps at registration: run_command = 30 min (RUN_COMMAND_TIMEOUT; 60 min before v1.1.2), subagents = MAX_SUBAGENT_TIMEOUT_MIN (30 min, foreground legs), download_file = 10 min registered, with the request itself limited by its own parameter (default 120 s, max 600 s; ignored by a render=true page save, added in v1.3.6), fetch_page / search_web = 90 s, http_request = its own parameter (default 60 s, max 300 s) inside the 15-minute default, html_template = 30 s, open_file = 10 s, ask_user = no limit. generate_audio (5 min) and generate_image (15 min) dropped their own caps in v1.3.17 and run under the 15-minute default. background_command and background_subagents register no cap of their own because a call returns a task id at once; the background command or leg is limited by its timeout_min (1-60 min, default 60) instead. Outside the TUI both are excluded. run_command_background was renamed background_command (Removed in v1.3.2); run_websocket and its timeout (1-1440 min) were Removed in v1.3.2, and the subagents background / timeout_min parameters were Removed in v1.3.2 in favor of background_subagents.