OpenAI Tool Call Schema
=======================

.. currentmodule:: xgrammar.openai_tool_call_schema

This page contains the API reference for tool and tool choice schema models used by builtin
structural tag APIs.

.. autoclass:: FunctionDefinition

.. autoclass:: FunctionToolParam

.. autoclass:: BuiltinToolParam

.. autodata:: ToolParam

.. autoclass:: NamedToolChoiceFunction

.. autoclass:: NamedToolChoiceParam

.. autoclass:: BuiltinToolChoiceParam

.. autoclass:: AllowedToolRef

.. autoclass:: AllowedToolsParam

.. autoclass:: AllowedToolChoiceParam

.. autodata:: ToolChoiceOptionParam
