Skip to content

Slot: toolChoice

Controls how the model uses tools.

URI: mcp:toolChoice Alias: toolChoice

Applicable Classes

Name Description Modifies Slot
CreateMessageRequestParams Parameters for a sampling/createMessage request yes

Properties

Type and Range

Property Value
Range ToolChoice
Domain Of CreateMessageRequestParams

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: toolChoice
description: Controls how the model uses tools.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: toolChoice
domain_of:
- CreateMessageRequestParams
range: ToolChoice
inlined: true