Class: ListToolsResult
The result returned by the server for a tools/list request.
URI: mcp:ListToolsResult
classDiagram
class ListToolsResult
click ListToolsResult href "../ListToolsResult/"
Result <|-- ListToolsResult
click Result href "../Result/"
ListToolsResult : _meta
ListToolsResult --> "0..1" MetaObject : _meta
click MetaObject href "../MetaObject/"
ListToolsResult : nextCursor
ListToolsResult : tools
ListToolsResult --> "1..*" Tool : tools
click Tool href "../Tool/"
Inheritance
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| nextCursor | 0..1 String |
An opaque token representing the pagination position after the last returned ... | direct |
| tools | 1..* Tool |
The list of tools | direct |
| _meta | 0..1 MetaObject |
Optional metadata object | HasMeta |
Usages
| used by | used in | type | used |
|---|---|---|---|
| ListToolsResultResponse | result | range | ListToolsResult |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/mcp
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mcp:ListToolsResult |
| native | mcp:ListToolsResult |
LinkML Source
Direct
name: ListToolsResult
description: The result returned by the server for a tools/list request.
from_schema: https://w3id.org/lmodel/mcp
is_a: Result
slots:
- nextCursor
- tools
slot_usage:
tools:
name: tools
required: true
Induced
name: ListToolsResult
description: The result returned by the server for a tools/list request.
from_schema: https://w3id.org/lmodel/mcp
is_a: Result
slot_usage:
tools:
name: tools
required: true
attributes:
nextCursor:
name: nextCursor
description: An opaque token representing the pagination position after the last
returned result. If present, there may be more results available.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: nextCursor
owner: ListToolsResult
domain_of:
- ListPromptsResult
- ListResourcesResult
- ListResourceTemplatesResult
- ListToolsResult
- ListTasksResult
range: string
tools:
name: tools
description: The list of tools.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: tools
owner: ListToolsResult
domain_of:
- TaskRequestCapabilities
- ServerCapabilities
- CreateMessageRequestParams
- ListToolsResult
range: Tool
required: true
multivalued: true
inlined: true
inlined_as_list: true
_meta:
name: _meta
description: Optional metadata object.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: _meta
owner: ListToolsResult
domain_of:
- HasMeta
range: MetaObject