Produits
IntégrationsPlanifiez une démo
Appelez-nous aujourd'hui :(800) 931-5930
Capterra Reviews

Produits

  • Pass
  • Data Intelligence
  • WMS
  • YMS
  • Expédié
  • RMS
  • OMS
  • PIM
  • Comptabilité
  • Transchargement

Intégrations

  • B2C et e-commerce
  • B2B et omnicanal
  • Entreprise
  • Productivité et marketing
  • Expédition et Exécution

Ressources

  • Tarifs
  • Calculateur de remboursement tarifaire IEEPA
  • Télécharger
  • Centre d'aide
  • Industries
  • Sécurité
  • Événements
  • Blog
  • Plan du site
  • Planifier une démo
  • Contactez-nous

Abonnez-vous à notre newsletter.

Recevez des mises à jour et des actualités sur les produits dans votre boîte de réception. Pas de spam.

ItemItem
POLITIQUE DE CONFIDENTIALITÉCONDITIONS D'UTILISATIONPROTECTION DES DONNÉES

Article protégé par copyright, LLC 2026 . Tous droits réservés

SOC for Service OrganizationsSOC for Service Organizations

    Function Calling: CubeworkFreight & Logistics Glossary Term Definition

    HomeGlossaryPrevious: Responsible ClassifierFunction CallingLLM integrationAI toolsAPI interactionAgent developmentNatural Language
    See all terms

    What is Function Calling?

    Function Calling

    Definition

    Function Calling is a capability within Large Language Models (LLMs) that allows the model to determine when and how to call external functions or APIs based on a user's natural language request. Instead of generating a direct answer, the LLM outputs a structured JSON object specifying the function name and the required arguments.

    Why It Matters

    LLMs, in their base form, are knowledge engines, not action engines. Function Calling bridges this gap. It allows the abstract reasoning power of the LLM to be connected to the concrete, real-world capabilities of external systems, such as databases, weather services, or booking platforms. This transforms a conversational AI into an actionable agent.

    How It Works

    1. Tool Definition: Developers provide the LLM with a schema (a description of the available functions, their parameters, and what they do). This is the 'tool definition'.
    2. User Prompt: The user provides a request (e.g., "What is the weather in London?").
    3. Model Inference: The LLM analyzes the prompt against the provided tool definitions and determines that the get_weather function is appropriate.
    4. Function Call Output: The LLM does not execute the code; it returns a structured call request (e.g., {"name": "get_weather", "arguments": {"location": "London"}}).
    5. Execution & Response: The application hosting the LLM receives this structured call, executes the actual external API call (e.g., to OpenWeatherMap), and passes the result back to the LLM.
    6. Final Response: The LLM uses the returned data to formulate a natural language answer for the user.

    Common Use Cases

    • Data Retrieval: Querying internal company databases or CRMs based on conversational input.
    • Task Automation: Booking appointments, sending emails, or updating records via external services.
    • Real-Time Information: Fetching live stock prices, flight statuses, or current weather conditions.
    • Complex Workflows: Orchestrating multi-step processes that require sequential API calls.

    Key Benefits

    • Extensibility: Dramatically expands the LLM's functional scope beyond its training data.
    • Accuracy & Grounding: Ensures answers are based on current, verifiable external data rather than potentially outdated internal knowledge.
    • Actionability: Moves AI from being purely informational to being operational.

    Challenges

    • Schema Management: Maintaining accurate and comprehensive tool definitions is crucial for reliable performance.
    • Latency: The multi-step process (Prompt -> Call -> Execute -> Response) introduces additional latency compared to a single model inference.
    • Error Handling: Robust logic must be implemented to gracefully handle failures from external APIs.

    Related Concepts

    • Agents: Function Calling is a core enabling technology for building autonomous AI agents.
    • Tool Use: A broader term encompassing the ability of an AI to utilize external resources.
    • Prompt Engineering: Designing the initial system prompt to correctly instruct the model on when and how to use the provided tools.

    Keywords