Skip to content

Class: ClientResult

A union of all result types that a client can return.

URI: mcp:ClientResult

 classDiagram
    class ClientResult
    click ClientResult href "../ClientResult/"

Class Properties

Property Value
Union Of CancelTaskResult, CreateMessageResult, ElicitResult, GetTaskPayloadResult, GetTaskResult, ListRootsResult, ListTasksResult, Result

Slots

Name Cardinality and Range Description Inheritance

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self mcp:ClientResult
native mcp:ClientResult

LinkML Source

Direct

name: ClientResult
description: A union of all result types that a client can return.
from_schema: https://w3id.org/lmodel/mcp
union_of:
- CancelTaskResult
- CreateMessageResult
- ElicitResult
- GetTaskPayloadResult
- GetTaskResult
- ListRootsResult
- ListTasksResult
- Result

Induced

name: ClientResult
description: A union of all result types that a client can return.
from_schema: https://w3id.org/lmodel/mcp
union_of:
- CancelTaskResult
- CreateMessageResult
- ElicitResult
- GetTaskPayloadResult
- GetTaskResult
- ListRootsResult
- ListTasksResult
- Result