Skip to content

Elicitation Timeout #903

@pkrc267

Description

@pkrc267

Describe the bug
Timeout occurs if elicitation request isn't responded to in a second.
Inspector shows the elicitation request, but when used in AI Agent, the agent does not even show elicitation and directly gets the error.

To Reproduce
Steps to reproduce the behavior:

  1. Implement elicitation for any tool, with multiple inputs
  2. Test the tool in inspector
  3. See the elicitation request in Elicitation tab
  4. respond for 1 request, then see the error when not responded for next requests in a second or two.

error: MCP error -32001: Request timed out

Expected behavior

  1. The elicitation error should be thrown to console
  2. The elicitation should not timeout so quick
  3. Need a timeout parameter for elicitInput function

Logs
MCP error -32001: Request timed out
error thrown at the tool response for unmet elicitation timeout

elicitation timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions