Tool
A function that an agent can call to perform an action: internet search, read files, API request, browser interaction.
How the Model Uses Tools
The model does not execute code itself — it generates a call (tool_calls), and the environment executes and returns the result. This is the basis of function calling.
Examples
search(query)— find in the database;read_file(path)— read a file;browser.click(selector)— click in the browser.