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/createinput request for InputRequiredResult.inputRequests. -
inputRequired(
{Map< String, InputRequest> ? inputRequests, String? requestState}) → InputRequiredResult -
An
input_requiredresult asking forinputRequestsand/or carryingrequestStateto be echoed back. -
readInputResponses(
Map< String, dynamic> args) → Map<String, dynamic> ? -
Read the injected
inputResponsesmap from a handler'sarguments. -
readRequestState(
Map< String, dynamic> args) → String? -
Read the injected opaque
requestStatefrom a handler'sarguments. -
rootsRequest(
) → ListRootsRequest -
A
roots/listinput request. -
samplingRequest(
Map< String, dynamic> params) → CreateMessageRequest -
A
sampling/createMessageinput request withparams.
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.