McpMrtr class

Properties

hashCode → int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Methods

elicitRequest({required String message, required Map<String, dynamic> requestedSchema}) → ElicitRequest
An elicitation/create input request for InputRequiredResult.inputRequests.
inputRequired({Map<String, InputRequest>? inputRequests, String? requestState}) → InputRequiredResult
An input_required result asking for inputRequests and/or carrying requestState to be echoed back.
readInputResponses(Map<String, dynamic> args) → Map<String, dynamic>?
Read the injected inputResponses map from a handler's arguments.
readRequestState(Map<String, dynamic> args) → String?
Read the injected opaque requestState from a handler's arguments.
rootsRequest() → ListRootsRequest
A roots/list input request.
samplingRequest(Map<String, dynamic> params) → CreateMessageRequest
A sampling/createMessage input request with params.

Constants

argInputResponses → const String
Reserved argument key carrying InputResponseRequestParams.inputResponses ({ key: InputResponse }) into a handler on a stateless retry.
argRequestState → const String
Reserved argument key carrying InputResponseRequestParams.requestState (the opaque blob the server previously issued) into a handler on a retry.