Skip to content

Test ToolSearch logging with MCP-heavy environment #11

@djdarcy

Description

@djdarcy

Summary

The ToolSearch tool (tool_search_tool_regex, tool_search_tool_bm25) logging support was added but needs real-world testing.

Background

ToolSearch triggers automatically when MCP tools would consume >10% of context. It's not manually invocable.

Testing Requirements

  • Set up environment with 10+ MCP servers or many MCP tools
  • Verify ToolSearch triggers and logs correctly
  • Confirm format: {tool_search_tool_regex: <query> }

Current Implementation

elif tool_info.name in ("tool_search_tool_regex", "tool_search_tool_bm25"):
    return tool_input.get("query", "")

Added to TOOL_CATEGORIES under "search" category.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions