Skip to content

Contact LV

lv@dablock.com

Juan Lago (LV) uses your details to reply to enquiries (legitimate interest), fulfil a contract with you, or take steps you request before entering one. Privacy and your rights

Tool Use

A model working with results from external operations

LV glossary Updated

What is Tool Use?

Tool use lets a model request operations outside text generation, such as search, code execution, or database access. The application controls which tools exist and executes authorized requests. A tool result can be current, cached, incomplete, or wrong.

How it works

A sample weather request for Madrid
Request outcome
  1. Model requestsMadrid forecast
  2. App calls the toolValidates and runs the call
  3. Tool returns Sample forecast Timeout error
Reply to the user

The sample forecast for Madrid is cloudy.

I couldn’t get the forecast for Madrid right now.

Key takeaways

  • Inspect result timestamps and reported execution status.

  • Keep permission checks outside the model’s text.

▸

Illustrative example

A hypothetical weather assistant requests a forecast for Madrid from a tool. The application returns location, timestamp, and forecast data. If the call fails, the assistant reports the failure rather than presenting a guessed temperature as live weather.

Follow the complete tool cycle

The sequence is user request, model proposal, application validation, execution, tool result, and answer. Access checks belong to the application and service. Treat returned web pages and documents as data rather than instructions that override the user. Function calling describes a common structured request mechanism; tool use is the broader behavior.

Sources and documentation