GitHub

CreateMessageParams

API reference for CreateMessageParams.

Attributes

AttributeTypeDescription
messageslist[SamplingMessage]
maxTokensint
modelPreferencesNotRequired[JsonObject]
systemPromptNotRequired[str]
includeContextNotRequired[Literal['none', 'thisServer', 'allServers']]
temperatureNotRequired[float]
stopSequencesNotRequired[list[str]]
metadataNotRequired[JsonObject]
toolsNotRequired[list[Tool]]
toolChoiceNotRequired[JsonObject]