Blog

Real-time connected AI - Tool Calling

Understanding AI Tool Calling

To check today’s weather, KTX schedules, exchange rates and internal company data separately, you need to switch between multiple apps and systems. AI that only uses information available up to the time its training was completed finds it difficult to reflect constantly changing circumstances.
Tool Calling enables AI to select external tools suited to the user’s request, retrieve the latest information and execute tasks. This article explains how Tool Calling works, its applications and what to consider when designing it.

What is Tool Calling?

Tool Calling is a technology that connects large language models to external functions, APIs, databases and business systems. After analysing the user’s request, AI determines the required tools and input values, then uses the results returned by those tools to provide an answer or perform the next task.

Differences based on how AI processes information
CategoryTraining data-based processingTool Calling-based processing
Information timingUses information available up to the model’s training dateUses external data available at the time of the call
CalculationGenerates results based on contextCalls a calculator or calculation function to verify the result
Internal company dataUses only information included in the training processQueries authorised databases and document systems
Task executionGenerates a responsePerforms tasks such as making reservations, registering, sending and generating reports

How a request is processed

Request processing flow
Request example

What is possible with Tool Calling

Tool Calling connects information retrieval and task execution within a single conversational flow. Users can provide conditions in natural language without knowing how to search each service or where its menus are located. Enterprises can configure different callable tools based on user permissions and business rules.

Use casesConnected systemsProcessing examples
Real-time informationWeather, traffic, foreign exchange, and stock price APIsRetrieving current information and comparing results based on conditions
Accurate calculationsCalculators, statistical functions, and fare calculation APIsCalculating taxes, distances, costs, and statistical values
Internal informationDocument repositories, databases, and search systemsSearching for policies, contracts, and performance data within the scope of permissions
Schedule managementCalendars and booking systemsChecking available times and adding events to the calendar
CommunicationEmail, messenger, and notification systemsDrafting and sending messages after user approval
Task automationReporting, customer relationship management, and enterprise resource planning systemsCollecting data, filling out forms, and changing statuses

Points to check during design

As connections to external systems increase, the scope of data access and execution permissions also expands. Service operators must define specific validation procedures before and after calls, error-handling methods, and cost limits. Users must be able to check what information is sent to which systems.

Check itemPotential issueDesign approach
Personal data protectionPersonal data may be sent to external systems during the callSend only the necessary data and manage encryption, retention periods, and conditions for sharing with third parties
Access permissionsUsers may access data or functions they are not authorised to useApply user authentication and role-based permissions, and recheck permissions before making a call
Data accuracyAn API may return outdated or incorrect valuesDisplay the data timestamp and source, and apply validity checks and cross-validation
Execution accountabilityUnintended actions may be confirmed during booking, payment, or sendingApply user confirmation and approval steps to actions that are difficult to cancel
Cost managementOperating costs may increase due to repeated calls and bulk requestsSet limits on the number of calls, store results, and establish rules to prevent duplicate requests
MaintenanceExternal APIs and input formats may changeOperate version control, automated testing, failure detection, and fallback procedures
  • Limit sensitive information to the scope necessary for the purpose of the call.
  • Require user approval for payments, bookings, transfers and deletion tasks.
  • Continuously record the tool's response time, error rate and call cost.
  • Display the source and retrieval time of external data in the results.
  • When a tool failure occurs, apply retry limits and fallback handling criteria.

CLEVI's approach to applying AI to real-world work

CLEVI application principles

The usefulness of AI in business depends on model performance, the tools that can be connected, execution accuracy and the level of security controls. By connecting multiple tools to a single request, you can handle everything from information retrieval to organising results and performing follow-up tasks on the same screen. Reflecting role-based permissions and approval procedures for each business process can reduce repetitive tasks while maintaining the organisation's security policies.

  • Tool Calling
  • Function Calling
  • Generative AI
  • AI agent
  • Business process automation
  • API integration
Back to newsroom
CLEVI

Language and region

Machine-translated languages are marked. Availability follows the published site bundle.

136 languages

Recommended

1

East Asia

7

Southeast Asia

11

South Asia

18

Central Asia

5

Middle East and the Caucasus

10

Western and Southern Europe

16

Britain and Ireland

4

Northern Europe and the Baltics

10

Central Europe and the Balkans

14

Eastern Europe

5

East Africa and the Horn

8

West and Central Africa

9

Southern Africa

8

The Americas

5

The Pacific

5