58582 . List eligible OpenClaw and plugin tools.
59593 . List eligible MCP tools through the session MCP runtime.
60604 . Add eligible client tools supplied for the current run.
61- 5 . Keep direct-only tools model-visible and index compact descriptors for the
62- remaining catalog-eligible tools.
61+ 5 . Keep core coding primitives and direct-only tools model-visible and index
62+ compact descriptors for the remaining catalog-eligible tools.
63636 . Add a deterministic, bounded, policy-filtered capability directory to the
6464 cache-stable system-prompt prefix.
65657 . Expose the OpenClaw code bridge, the structured fallback tools, or the
66- compact directory surface alongside those direct-only tools.
66+ compact directory surface alongside those stable, directly callable tools.
6767
6868At execution time every real tool call returns to OpenClaw. The isolated Node
6969runtime does not hold plugin implementations, MCP client objects, or secrets.
@@ -80,9 +80,9 @@ normal policy, approval, hook, logging, and result handling still apply.
8080 structured tools for providers that should not receive code, alongside the
8181 capability directory and direct-only tools.
8282- ` directory ` : exposes ` tool_search ` , ` tool_describe ` , and ` tool_call ` plus a
83- bounded prompt directory. Unlike the other modes, OpenClaw can also expose a
84- small bounded set of likely or required tool schemas directly for the
85- current turn. Direct-only tools remain visible in this mode too .
83+ bounded, cache-stable prompt directory. Core coding primitives, direct-only
84+ tools, and tools required by the run's delivery policy remain visible; other
85+ schemas stay deferred .
8686
8787All modes use the same policy-filtered catalog and normal OpenClaw execution
8888path. Tools marked ` catalogMode: "direct-only" ` stay outside that catalog and
@@ -114,8 +114,8 @@ Tool Search changes the shape:
114114- Tool Search tools mode: the model sees three compact structured fallback
115115 tools, the same capability directory, and any direct-only tools
116116- Tool Search directory mode: the model sees a bounded directory plus
117- search/describe/call controls and a small bounded set of likely or required
118- schemas, plus any direct-only tools
117+ search/describe/call controls, policy-required direct tools, and any
118+ direct-only tools
119119- during the turn: the model can load remaining schemas as needed
120120
121121Direct tool exposure is still the right default for small catalogs. Tool Search
@@ -220,12 +220,14 @@ Directory mode exposes:
220220- ` tool_describe `
221221- ` tool_call `
222222
223- It also keeps client-provided tools and all direct-only tools directly visible,
224- and may expose a small bounded set of likely or required catalog tool schemas
225- directly for the current turn. If the bounded directory omits entries, use
226- ` tool_search ` to find them. If the model requests an exact hidden directory
227- tool name directly, OpenClaw hydrates it from the authorized catalog before
228- normal execution.
223+ It also keeps core file and shell primitives, client-provided tools, direct-only
224+ tools, and policy-required delivery tools directly visible. Other authorized
225+ tool schemas stay deferred rather than changing with each user prompt. MCP tools
226+ cannot impersonate a directly visible core or policy-required delivery tool. If
227+ the bounded directory omits entries, use ` tool_search ` to find them and
228+ ` tool_describe ` to retrieve their full schemas. If the model requests an exact
229+ hidden directory tool name directly, OpenClaw resolves it from the authorized
230+ catalog before normal execution.
229231Directory-mode client tool names must not collide with OpenClaw, plugin, or MCP
230232tool names because exact deferred dispatch uses those names.
231233
0 commit comments