McpUrlElicitationRequired class

Thrown by a tool handler when the call cannot proceed until the user completes URL-mode elicitations (URLElicitationRequiredError, -32042, 2025-11-25). Each entry is URL-mode elicitation params with an elicitationId. On other revisions it is reported like any tool failure.

Implemented types

Constructors

McpUrlElicitationRequired(List<Map<String, dynamic>> elicitations, [String message = 'This request requires more information.'])

Properties

elicitations → List<Map<String, dynamic>>
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited