Concepts
Function Calling vs Tool Use vs Verbs
Function calling and tool use are the same mechanism under two providers' names. Verbs are the layer above: a portable, versioned description of what an AI is allowed to do in your app.
Last reviewed
In short: OpenAI function calling and Anthropic tool use are the same feature with different names. Verbs don't replace them; they define your app's actions once, and each provider's tool calling carries them to the model.
If you have connected a language model to real software, you have met at least two of these terms. They overlap enough to be confusing, so here is the short version:
- Function calling and tool use are the same idea. The model is given a list of actions with argument schemas, and instead of only writing prose it can reply with a structured request to run one. OpenAI uses the first name; Anthropic uses the second.
- Verbs are not a competing transport. A verb is the definition of an action, kept in a provider-neutral, versioned library, with the extra information an application needs to run it safely. You still deliver verbs to a model through its function calling or tool use.
Function calling and tool use: one mechanism, two names
The same action, described for each provider, differs only in where the schema goes:
// OpenAI: "function calling"
{
"type": "function",
"function": {
"name": "notify_user",
"description": "Show a notification or message to the user inside the host application.",
"parameters": {
"type": "object",
"properties": {
"message": { "type": "string" },
"level": { "type": "string", "enum": ["info", "success", "warning", "error"] }
},
"required": ["message"]
}
}
}// Anthropic: "tool use"
{
"name": "notify_user",
"description": "Show a notification or message to the user inside the host application.",
"input_schema": {
"type": "object",
"properties": {
"message": { "type": "string" },
"level": { "type": "string", "enum": ["info", "success", "warning", "error"] }
},
"required": ["message"]
}
}In both cases the loop is the same:
- You send the user's message along with the list of tools.
- The model replies with a call: a tool name and JSON arguments.
- Your code runs the action and sends the result back.
- The model continues, calling more tools or answering the user.
The provider's part ends at step 2. Deciding whether to run the call, checking it, running it and recording it is all your application's job, and the tool definition carries almost nothing to help.
What a tool definition leaves out
A tool definition answers one question: what arguments does this take? An application also needs to know:
- Is this action destructive? Should a person confirm it first?
- What does it return, so other code (or another model) can rely on the result?
- Which version of the action is this, and which set of actions does it belong to?
- How do I give the same actions to a different model, framework or language without rewriting them?
Teams usually answer these in scattered code: a hard-coded list of dangerous tool names here, a copy of the schema for the second provider there. That is the gap verbs fill.
Verbs: the definition layer above tools
An OpenVerb verb lives in a verb library, a JSON file with a namespace and a version. Each verb has a category, typed params, a description of what it returns, and safety flags:
// OpenVerb: a verb inside a versioned library
{
"namespace": "openverb.core",
"version": "0.1.0",
"verbs": [
{
"name": "delete_item",
"category": "data",
"description": "Delete an item from a logical collection.",
"params": {
"collection": { "type": "string", "description": "Logical collection name.", "required": true },
"id": { "type": "string", "description": "Identifier of the item to delete.", "required": true }
},
"returns": {
"success": { "type": "boolean", "description": "Whether the item was successfully deleted." }
},
"destructive": true,
"requires_confirmation": true
}
]
}From that one definition you can:
- Generate the tool definition for any provider (the integration guide shows a converter for both).
- Enforce policy in one place: anything marked
destructiveorrequires_confirmationwaits for the user, whichever model asked. - Validate before executing: an OpenVerb executor rejects unknown verbs and missing required params before your handler runs.
- Share a vocabulary: libraries such as the Standard Library (theme, navigation, search, forms, sessions) give every app the same baseline verbs, so an agent that can use one site can use the next.
- Read it as a person: the library is plain JSON you can review in a pull request, diff between versions, and publish.
Side by side
| Function calling (OpenAI) | Tool use (Anthropic) | OpenVerb verbs | |
|---|---|---|---|
| What it is | A model API feature | A model API feature | A definition format and executor |
| Where it is defined | In the API request | In the API request | A versioned JSON library |
| Works with | OpenAI models | Claude models | Any model, via its tool calling or plain text |
| Argument schema | JSON Schema | JSON Schema | Typed params, converted to JSON Schema |
| Return shape | Not described | Not described | Described in returns |
| Safety metadata | None | None | destructive, requires_confirmation |
| Grouping and versions | None | None | Namespace and version per library |
| Runs the action | Your code | Your code | Your handlers, via the executor |
Which should you use?
You don't choose between them. If you use one provider with a handful of harmless tools, its native tool format on its own is fine. Once you have several models, many actions, actions that can delete or spend something, or more than one app that should understand the same actions, keep the actions as verbs and let each provider's tool calling carry them.
Ready to try it? The quick start takes about five minutes, and the OpenAI and Anthropic guide adds native tool calling on top.