Skip to main content

Module request

Module request 

Source
Expand description

Per-turn request shape: ChatRequest plus ToolChoice, ToolDefinition, and ToolTag.

Structs§

ChatRequest
Per-turn request the engine assembles and the adapter lowers to the provider’s wire format.
ToolDefinition
Tool description sent to the provider so the model can decide when and how to call it.

Enums§

ToolChoice
Constraint placed on the model’s tool selection for a single request. Variant naming follows Anthropic’s wire vocabulary; the Chat Completions adapter translates Any"required" and None_"none".
ToolTag
Capability tag attached to a ToolDefinition.