InputResponseRequestParams class

Base params shape for requests that may resume a paused multi-round-trip operation by supplying inputResponses and/or requestState.

GetPromptRequestParams, ReadResourceRequestParams, and CallToolRequestParams all extend this.

Inheritance

Constructors

InputResponseRequestParams({required RequestMetaObject $meta, InputResponses inputResponses, String? requestState})
InputResponseRequestParams.toMCP(Map<String, Object?> map)
factory

Properties

$meta RequestMetaObject
Request metadata (required — carries protocol version & capabilities).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputResponses InputRequests
Responses to a prior InputRequiredResult.inputRequests.
getter/setter pair
requestState String?
Opaque state token echoed back from a prior InputRequiredResult.
getter/setter pair
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
toMap() Map<String, Object?>
override
toString() String
A string representation of this object.
inherited

Operators

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