Skip to content

enh(tools): /status should report tool_filter state when enabled #2028

@bug-ops

Description

@bug-ops

Summary

When [agent.tool_filter] is enabled, the /status command does not show whether dynamic tool schema filtering is active, nor the current filter configuration (top_k, always_on count).

Observed behavior (v0.16.0)

/status
Session status:
Provider:  openai
Model:     gpt-4o-mini
...

No mention of tool filter state.

Expected behavior

When [agent.tool_filter] enabled = true, status should show something like:

Tool filter: enabled (top_k=6, always_on=6, 11 embeddings)

Or at minimum a line like Tool filter: active.

Context

Acceptance criteria

  • /status output includes a tool filter line when tool_filter.enabled = true
  • Shows top_k, always_on count, and number of pre-computed embeddings
  • No change when tool filter is disabled (don't add noise for default config)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2High value, medium complexityenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions