perf: enable OpenClaw Tool Search to reduce tool schema latency#4096
Conversation
📝 WalkthroughWalkthroughThe pull request enables OpenClaw tool search by default and refactors web search configuration to merge settings into an existing tools object instead of overwriting it, ensuring tool search remains enabled when web search is configured. ChangesOpenClaw Tool Search Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
PR Review AdvisorFindings: 0 needs attention, 1 worth checking, 0 nice ideas This is an automated advisory review. A human maintainer must make the final merge decision. |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Auto-dispatched E2E: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
Selective E2E Results — ✅ All requested jobs passedRun: 26313996026
|
Summary
openclaw.jsonviatools.toolSearch: true.tools.web.searchunder the existing tools object.Context
This mitigates NemoClaw #2600/#2598 and upstream openclaw/openclaw#14785 by using the native Tool Search path available in OpenClaw 2026.5.18, so OpenClaw can expose compact tool-search controls instead of sending every full tool schema when many tools are available.
Tests
npx vitest run test/generate-openclaw-config.test.tsnpx vitest run test/openclaw-tool-catalog-patch.test.tsSummary by CodeRabbit
Release Notes
New Features
Bug Fixes
Tests