Custom RequestTimeout annotation in Tool #647
ketangupta221
started this conversation in
Ideas
Replies: 1 comment
-
|
This feature is particularity useful for Tools with high latencies, such as agentic Tools (Tools which invoke an LLM agent to do processing), Tools which return files or larger data, etc. Currently clients need to guess the latency of a Tool or determine it by testing. With this feature implemented, clients will be able to programmatically determine the latency timeout for a Tool and will be able to act accordingly. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Pre-submission Checklist
Your Idea
MCPSchema already support annotations but it currently doesn't have any annotation for RequestTimeout. We want to have custom timeouts configured for each tool as we require some tools to have lower latencies compared to others. This will allow us to have tool level timeouts and increase system efficiency while interacting with our MCP server.
Scope
Beta Was this translation helpful? Give feedback.
All reactions