Skip to content

Tommy/runtime tool response filtering exp#2658

Draft
tommaso-moro wants to merge 5 commits into
rosstarrant/add-output-schemafrom
tommy/runtime-tool-response-filtering-exp
Draft

Tommy/runtime tool response filtering exp#2658
tommaso-moro wants to merge 5 commits into
rosstarrant/add-output-schemafrom
tommy/runtime-tool-response-filtering-exp

Conversation

@tommaso-moro

Copy link
Copy Markdown
Contributor

Summary

Adds experimental logic to enable tool response filtering at runtime, leveraging output schemas.

Example:
Screenshot 2026-06-09 at 15 58 18

Why

May allow for better context efficiency, subject to evals

What changed

MCP impact

  • No tool or API changes
  • Tool schema or behavior changed
  • New tool added

Prompts tested (tool changes only)

Security / limits

  • No security or limits impact
  • Auth / permissions considered
  • Data exposure, filtering, or token/size limits considered

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • I am not renaming tools as part of this PR

Note: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

Will update if this gets merged

  • Not needed
  • Updated (README / docs / examples)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant