McpResultType class
Draft ResultType discriminator values (schema.ts ResultType).
A 2026-07-28 result always carries resultType. A result from an earlier
revision omits it; the client MUST treat the absent value as complete.
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
Constants
- complete → const String
-
"complete"— final content; parse the result normally. - inputRequired → const String
-
"input_required"— the result is an InputRequiredResult. - key → const String
-
The wire key on a
Resultobject. - task → const String
-
"task"— the result is aCreateTaskResult(Result & Task); the server processes the request asynchronously and the client tracks it viatasks/get/tasks/update/tasks/cancel(Tasks extension, 2026-07-28).