Optional_See General fields: _meta for notes on _meta usage.
OptionalprogressToken?: ProgressTokenIf specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
OptionalincludeA request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request.
The requested maximum number of tokens to sample (to prevent runaway completions).
The client MAY choose to sample fewer tokens than the requested maximum.
OptionalmetadataOptional metadata to pass through to the LLM provider. The format of this metadata is provider-specific.
OptionalmodelThe server's preferences for which model to select. The client MAY ignore these preferences.
OptionalstopOptionalsystemAn optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt.
Optionaltemperature
Parameters for a
sampling/createMessagerequest.