McpMrtr class
Server-side helpers for the re-issued request's InputResponseRequestParams
(inputResponses + requestState).
A tool/prompt/resource handler signature cannot change (additive rule), so on
the stateless path the server injects the re-issued request's MRTR fields into
the handler arguments map under these reserved reverse-DNS keys. They are
present ONLY on a stateless retry that carried them, so a first-round call (or
any legacy call) never sees them.
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
-
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.
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.