Do exist any way to add a middleware to "count" all tool invokations ? #1220
Unanswered
eng-marani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
My goal is to accumulate statistics about tools usage server side.
I know i can use mpcBuilder.AddCallToolFilter() but this is a fallback called only if requested tool is not found as an already registered tool. What i really want is to monitor all tools invokation, possibly with name and parameters as well.
Do exist any way to be triggered when a tool_call is pushed to the server ?
Beta Was this translation helpful? Give feedback.
All reactions