Property ChatToolCallingFormat
ChatToolCallingFormat
The tool-call wire protocol this model's chat template speaks. Detected from the template fingerprint at load time; assign it to declare the dialect of an imported model whose template the detection does not recognize, so tool calls parse with the right flow instead of the generic fallback.
public LM.ToolCallingFormat ChatToolCallingFormat { get; set; }
Property Value
Exceptions
- InvalidOperationException
Thrown by the setter when the model carries no chat template, so no tool-call protocol can apply.