vllm.tool_parsers.tool_strict_level
¶
Classes:
-
ToolStrictLevel–Server-side floor for tool-call structural tags (
--tool-strict-level).
ToolStrictLevel
¶
Bases: IntEnum
Server-side floor for tool-call structural tags (--tool-strict-level).
derive call constraints from tool_choice and argument-schema
enforcement from each tool's explicit strict field.
FUNCTION: constrain the tool-call envelope for every request with tools.
PARAMETER: additionally pin argument schemas, as if every tool were
strict: true.