openclaw/docs/tools/code-mode
RoboClaw 729c6b1cc3
feat: enable structured Tool Search by default (#154068)
Enable structured Tool Search when tools.toolSearch is unset, while preserving explicit settings, Code Mode precedence, native Codex discovery, and local-model limits. Repair prompt-policy guidance, callable hook authority, untrusted metadata handling, settlement-safe execution, and saved-result retention. Labs exposes the default and opt-out without rewriting configuration.

The rollout can add discovery turns and does not promise universal latency or token savings. The legacy Node bridge remains an explicit setting.

Validated with focused regressions, admitted OpenAI/SSE cases, actual Gateway and Chromium flows, static gates, independent review, and exact-head hosted CI.

Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
OpenClaw-Publication: de7bc1dc-ea60-4fb4-a326-e5725d72be66
2026-09-20 16:59:54 -07:00
..
configuration.md refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
guest-api.md refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
internals.md feat: enable structured Tool Search by default (#154068) 2026-09-20 16:59:54 -07:00
maintainers.md refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
output.md refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
quickstart.md refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
tool-surface.md refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
troubleshooting.md refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00