Skip to content

Feature: store toolname for tool matching condition#97

Merged
mvle merged 3 commits intokagenti:mainfrom
mvle:toolmatch
Apr 15, 2026
Merged

Feature: store toolname for tool matching condition#97
mvle merged 3 commits intokagenti:mainfrom
mvle:toolmatch

Conversation

@mvle
Copy link
Copy Markdown
Collaborator

@mvle mvle commented Apr 10, 2026

Summary

Need the toolname for tool match condition.
MCP responses do not contain the toolname.

Added code to store toolname from request body phase. This is the phase where the toolname contains the prefix needed for tool condition matching. The toolname is then used only in the response body processing for tool matching condition.

Updated config.yaml to include toolname condition option used for matching.

Related issue(s)

(Optional) Testing Instructions

Fixes #37

@mvle mvle requested a review from a team as a code owner April 10, 2026 16:25
Copy link
Copy Markdown
Contributor

@evaline-ju evaline-ju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@mvle mvle merged commit 71eabd5 into kagenti:main Apr 15, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test tool matching with conditions

2 participants