Table of Contents

Enum LM.ToolCallingFormat

Namespace
LMKit.Model
Assembly
LM-Kit.NET.dll

The tool-call wire protocol a chat template speaks: which markers open a call, how arguments are shaped, and how results are fed back. Detected from the template fingerprint at load time; assignable through ChatToolCallingFormat so an imported model whose template the detection does not recognize can declare its dialect instead of falling back to the generic flow.

public enum LM.ToolCallingFormat

Fields

Disabled = -1

Tool calling is turned off for the model: tools are never rendered into the prompt and no output is parsed as a call.

Default = 0

The generic flow: tool definitions render as structured text and calls parse with the tolerant reader. The fallback for templates with no recognized dialect.

Granite = 1

The Granite family's tool-call protocol.

Qwen = 2

The Qwen family's tool-call protocol.

Magistral = 3

The Magistral reasoning models' tool-call protocol.

MistralSmall = 4

The Mistral Small family's tool-call protocol.

GptOss = 5

The GPT-OSS family's tool-call protocol.

Phi4 = 6

The Phi-4 family's tool-call protocol.

MistralV3Tekken = 7

The Mistral V3 protocol on the Tekken tokenizer variant.

MinistralV3 = 8

The Ministral V3 family's tool-call protocol.

Glm = 9

The GLM family's tool-call protocol.

Nemotron3 = 10

The Nemotron 3 family's tool-call protocol.

Gemma4 = 11

The Gemma 4 family's tool-call protocol.

MuseAtem = 12

The ATEM function-calling protocol spoken by the Muse family.

Share