class RubyLLM::MCP::InputRequiredError
Raised when a server needs input from the user and no MCP.before_input_request callback answered. Its message includes what the server asked for, and requests has the MCP::InputRequest objects. In a chat, the tool call pauses instead, and Chat#pending_inputs returns the requests.
Public Instance Methods
Source
# File lib/ruby_llm/mcp/input_required_error.rb, line 18 def requests @input['requests'].reject(&:answered?) end
The unanswered MCP::InputRequest objects.