tool use

An LLM feature where the model can request execution of named functions (tools) and receive results before responding.

Definition

Tool use (Anthropic terminology) or function calling (OpenAI terminology) is the API feature that lets a model emit structured calls to predefined functions and read their results before producing a final answer. Tools are described with JSON Schema. It is the underlying primitive that makes agents possible; MCP standardises how tools are advertised across LLM clients.

When to use

See also