[{"data":1,"prerenderedAt":468},["ShallowReactive",2],{"chrome":3,"glossary-entry-tool-use":417},{"header":4,"footer":321},{"items":5,"cta":317,"notice":320},[6,174,276,280,284,295],{"label":7,"url":8,"target":8,"icon":8,"children":9},"Solutions",null,[10,47,128,140,169],{"label":11,"url":12,"target":8,"icon":13,"children":14},"Customer Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcustomer-support\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2026\u002F01\u002FAsset-102.svg",[15,19,23,27,31,35,39,43],{"label":16,"url":17,"target":8,"icon":8,"children":18},"Call Center Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcall-center-outsourcing\u002F",[],{"label":20,"url":21,"target":8,"icon":8,"children":22},"Technical Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftechnical-support-outsourcing\u002F",[],{"label":24,"url":25,"target":8,"icon":8,"children":26},"Live Chat Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Flive-chat-support-outsourcing\u002F",[],{"label":28,"url":29,"target":8,"icon":8,"children":30},"Email Support","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Femail-support-outsourcing\u002F",[],{"label":32,"url":33,"target":8,"icon":8,"children":34},"Customer Experience Outsourcing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcustomer-experience-outsourcing\u002F",[],{"label":36,"url":37,"target":8,"icon":8,"children":38},"Multilingual Customer Experience Teams","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fmultilingual-customer-experience-teams\u002F",[],{"label":40,"url":41,"target":8,"icon":8,"children":42},"Omnichannel CX Outsourcing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fomnichannel-cx-outsourcing\u002F",[],{"label":44,"url":45,"target":8,"icon":8,"children":46},"Secure Customer Support Operations","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fsecure-customer-support-operations\u002F",[],{"label":48,"url":49,"target":8,"icon":50,"children":51},"Sales Outsourcing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fsales-outsourcing\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F11\u002FAsset-104.svg",[52,112,116,120,124],{"label":53,"url":54,"target":8,"icon":8,"children":55},"Vacation Ownership & Timeshare","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fvacation-ownership-timeshare\u002F",[56,60,64,68,72,76,80,84,88,92,96,100,104,108],{"label":57,"url":58,"target":8,"icon":8,"children":59},"Inbound Vacation Ownership Sales","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Finbound-vacation-ownership-sales\u002F",[],{"label":61,"url":62,"target":8,"icon":8,"children":63},"Timeshare Transfer Programs","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftimeshare-transfer-programs\u002F",[],{"label":65,"url":66,"target":8,"icon":8,"children":67},"Vacation Web & Form Lead Follow-Up","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fvacation-web-lead-follow-up\u002F",[],{"label":69,"url":70,"target":8,"icon":8,"children":71},"Outbound Vacation Package Sales","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Foutbound-vacation-package-sales\u002F",[],{"label":73,"url":74,"target":8,"icon":8,"children":75},"Owner Upgrade & Cross-Sell","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fowner-upgrade-cross-sell\u002F",[],{"label":77,"url":78,"target":8,"icon":8,"children":79},"Vacation Renewals & Rebooking","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fvacation-renewals-rebooking\u002F",[],{"label":81,"url":82,"target":8,"icon":8,"children":83},"Win-Back Campaigns","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fwin-back-campaigns\u002F",[],{"label":85,"url":86,"target":8,"icon":8,"children":87},"Owner Referral Programs (POR, NOR, BAF)","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fowner-referral-programs\u002F",[],{"label":89,"url":90,"target":8,"icon":8,"children":91},"Tour No Buy (TNB) Follow-Up","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftour-no-buy-follow-up\u002F",[],{"label":93,"url":94,"target":8,"icon":8,"children":95},"Event & Partnership Lead Campaigns","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fevent-lead-campaigns\u002F",[],{"label":97,"url":98,"target":8,"icon":8,"children":99},"Day Drive Tour Generation","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fday-drive-tour-generation\u002F",[],{"label":101,"url":102,"target":8,"icon":8,"children":103},"Lead Qualification & Screening","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Flead-qualification-screening\u002F",[],{"label":105,"url":106,"target":8,"icon":8,"children":107},"Tour Confirmation & Concierge","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftour-confirmation-concierge\u002F",[],{"label":109,"url":110,"target":8,"icon":8,"children":111},"Service-to-Sales","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fservice-to-sales\u002F",[],{"label":113,"url":114,"target":8,"icon":8,"children":115},"Outbound Sales & Owner Activation","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Foutbound-owner-activation\u002F",[],{"label":117,"url":118,"target":8,"icon":8,"children":119},"Appointment Setting & Lead Qualification","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fappointment-setting-qualification\u002F",[],{"label":121,"url":122,"target":8,"icon":8,"children":123},"Revenue-Generating Customer Care","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Frevenue-generating-customer-care\u002F",[],{"label":125,"url":126,"target":8,"icon":8,"children":127},"Sales Quality & Compliance","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fsales-quality-compliance\u002F",[],{"label":129,"url":130,"target":8,"icon":131,"children":132},"Trust & Safety","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Ftrust-safety\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F11\u002FAsset-103.svg",[133,136],{"label":134,"url":130,"target":8,"icon":8,"children":135},"General Support",[],{"label":137,"url":138,"target":8,"icon":8,"children":139},"Community Management","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fcommunity-management\u002F",[],{"label":141,"url":142,"target":8,"icon":143,"children":144},"Omni Evals","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fomni-evals\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F11\u002FAsset-105.svg",[145,149,153,157,161,165],{"label":146,"url":147,"target":8,"icon":8,"children":148},"Perception & Annotation","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fperception-annotation\u002F",[],{"label":150,"url":151,"target":8,"icon":8,"children":152},"Speech & Audio Diarization","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fspeech-audio-diarization\u002F",[],{"label":154,"url":155,"target":8,"icon":8,"children":156},"Multimodal Grounding","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fmultimodal-grounding\u002F",[],{"label":158,"url":159,"target":8,"icon":8,"children":160},"Agentic & Coding Evals","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fagentic-coding-evals\u002F",[],{"label":162,"url":163,"target":8,"icon":8,"children":164},"Red Teaming & Alignment","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fred-teaming-alignment\u002F",[],{"label":166,"url":167,"target":8,"icon":8,"children":168},"Embodied AI & Robotics","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fembodied-ai-robotics\u002F",[],{"label":170,"url":171,"target":8,"icon":172,"children":173},"Enterprise BPO","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fenterprise-outsourcing\u002F","https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F10\u002FAsset-37@2x.png",[],{"label":175,"url":8,"target":8,"icon":8,"children":176},"Industries",[177,228,245],{"label":178,"url":8,"target":8,"icon":8,"children":179},"CX Outsourcing",[180,184,188,192,196,200,204,208,212,216,220,224],{"label":181,"url":182,"target":8,"icon":8,"children":183},"Healthcare BPO","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthcare-bpo-services\u002F",[],{"label":185,"url":186,"target":8,"icon":8,"children":187},"Healthcare CX Outsourcing Services","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthcare-cx-outsourcing\u002F",[],{"label":189,"url":190,"target":8,"icon":8,"children":191},"CX Outsourcing for HealthTech Startups","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthtech-startup-cx-outsourcing\u002F",[],{"label":193,"url":194,"target":8,"icon":8,"children":195},"Gaming","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fgaming-outsourcing\u002F",[],{"label":197,"url":198,"target":8,"icon":8,"children":199},"Crypto","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fcrypto-outsourcing\u002F",[],{"label":201,"url":202,"target":8,"icon":8,"children":203},"Ecommerce","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fecommerce-outsourcing\u002F",[],{"label":205,"url":206,"target":8,"icon":8,"children":207},"SaaS","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fsaas-outsourcing\u002F",[],{"label":209,"url":210,"target":8,"icon":8,"children":211},"Fintech","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ffintech-outsourcing\u002F",[],{"label":213,"url":214,"target":8,"icon":8,"children":215},"CX Outsourcing for Fintech","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ffintech-cx-outsourcing\u002F",[],{"label":217,"url":218,"target":8,"icon":8,"children":219},"Edtech","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fedtech-outsourcing\u002F",[],{"label":221,"url":222,"target":8,"icon":8,"children":223},"Online Subscriptions","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fonline-subscriptions-outsourcing\u002F",[],{"label":225,"url":226,"target":8,"icon":8,"children":227},"Rewards & GPT Platforms","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fgpt-platforms\u002F",[],{"label":48,"url":8,"target":8,"icon":8,"children":229},[230,233,237,241],{"label":53,"url":231,"target":8,"icon":8,"children":232},"https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fvacation-ownership-timeshare-sales-outsourcing\u002F",[],{"label":234,"url":235,"target":8,"icon":8,"children":236},"Cruise Lines","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fcruise-line-sales-outsourcing\u002F",[],{"label":238,"url":239,"target":8,"icon":8,"children":240},"Travel Wholesalers & Packagers","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ftravel-wholesaler-sales-outsourcing\u002F",[],{"label":242,"url":243,"target":8,"icon":8,"children":244},"Car Rental & Mobility","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fcar-rental-sales-outsourcing\u002F",[],{"label":246,"url":8,"target":8,"icon":8,"children":247},"Artificial Intelligence",[248,252,256,260,264,268,272],{"label":249,"url":250,"target":8,"icon":8,"children":251},"Frontier & Reasoning Labs","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Ffrontier-reasoning-labs\u002F",[],{"label":253,"url":254,"target":8,"icon":8,"children":255},"Robotics & Embodied AI","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Frobotics-embodied-ai\u002F",[],{"label":257,"url":258,"target":8,"icon":8,"children":259},"GenAI Applications & Media Models","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fgenai-applications-media\u002F",[],{"label":261,"url":262,"target":8,"icon":8,"children":263},"Enterprise AI & B2B Software","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fenterprise-ai-software\u002F",[],{"label":265,"url":266,"target":8,"icon":8,"children":267},"Defense, Geospatial & Government","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fdefense-geospatial-government\u002F",[],{"label":269,"url":270,"target":8,"icon":8,"children":271},"Healthtech, Bio & Clinical AI","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Fhealthtech-bio-clinical-ai\u002F",[],{"label":273,"url":274,"target":8,"icon":8,"children":275},"Universities & Research Institutions","https:\u002F\u002Fhugoinc.com\u002Findustry\u002Funiversities-research-institutions\u002F",[],{"label":277,"url":278,"target":8,"icon":8,"children":279},"Our Agents","https:\u002F\u002Fhugoinc.com\u002Fhugo-agents\u002F",[],{"label":281,"url":282,"target":8,"icon":8,"children":283},"Pricing","https:\u002F\u002Fhugoinc.com\u002Fpricing\u002Fcustomer-support-outsourcing\u002F",[],{"label":285,"url":8,"target":8,"icon":8,"children":286},"Company",[287,291],{"label":288,"url":289,"target":8,"icon":8,"children":290},"About","https:\u002F\u002Fhugoinc.com\u002Fabout\u002F",[],{"label":292,"url":293,"target":8,"icon":8,"children":294},"Careers","https:\u002F\u002Fhugoinc.com\u002Fcareers\u002F",[],{"label":296,"url":8,"target":8,"icon":8,"children":297},"Resources",[298,301,305,309,313],{"label":296,"url":299,"target":8,"icon":8,"children":300},"https:\u002F\u002Fhugoinc.com\u002Fresources",[],{"label":302,"url":303,"target":8,"icon":8,"children":304},"Case Studies","https:\u002F\u002Fhugoinc.com\u002Fcase-studies\u002F",[],{"label":306,"url":307,"target":8,"icon":8,"children":308},"News","https:\u002F\u002Fhugoinc.com\u002Fnews\u002F",[],{"label":310,"url":311,"target":8,"icon":8,"children":312},"FAQs","https:\u002F\u002Fhugoinc.com\u002Ffaqs\u002F",[],{"label":314,"url":315,"target":8,"icon":8,"children":316},"Glossary","https:\u002F\u002Fhugoinc.com\u002Fglossary\u002F",[],{"label":318,"url":319,"target":8},"Get Started","https:\u002F\u002Fhugoinc.com\u002F#!","Hugo is hiring! Explore our positions and apply today.",{"items":322,"legals":389,"outsourcing":394,"newsletter":397,"social":398,"certifications":403,"legal":416},[323,356,365,374,380,383,386],{"label":7,"url":8,"target":8,"icon":8,"children":324},[325,337,343],{"label":48,"url":49,"target":8,"icon":8,"children":326},[327,329,331,333,335],{"label":53,"url":54,"target":8,"icon":8,"children":328},[],{"label":113,"url":114,"target":8,"icon":8,"children":330},[],{"label":117,"url":118,"target":8,"icon":8,"children":332},[],{"label":121,"url":122,"target":8,"icon":8,"children":334},[],{"label":125,"url":126,"target":8,"icon":8,"children":336},[],{"label":129,"url":130,"target":8,"icon":8,"children":338},[339,341],{"label":134,"url":130,"target":8,"icon":8,"children":340},[],{"label":137,"url":138,"target":8,"icon":8,"children":342},[],{"label":141,"url":142,"target":8,"icon":8,"children":344},[345,348,352],{"label":134,"url":346,"target":8,"icon":8,"children":347},"https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fdata-ai\u002F",[],{"label":349,"url":350,"target":8,"icon":8,"children":351},"AI & ML Model Training","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fgenerative-ai\u002F",[],{"label":353,"url":354,"target":8,"icon":8,"children":355},"Data Processing","https:\u002F\u002Fhugoinc.com\u002Fservice\u002Fdata-processing\u002F",[],{"label":285,"url":8,"target":8,"icon":8,"children":357},[358,360,362],{"label":288,"url":289,"target":8,"icon":8,"children":359},[],{"label":292,"url":293,"target":8,"icon":8,"children":361},[],{"label":363,"url":319,"target":8,"icon":8,"children":364},"Contact",[],{"label":296,"url":8,"target":8,"icon":8,"children":366},[367,370,372],{"label":296,"url":368,"target":8,"icon":8,"children":369},"https:\u002F\u002Fhugoinc.com\u002Fresources\u002F",[],{"label":310,"url":311,"target":8,"icon":8,"children":371},[],{"label":314,"url":315,"target":8,"icon":8,"children":373},[],{"label":375,"url":8,"target":8,"icon":8,"children":376},"Headquarters",[377],{"label":378,"url":8,"target":8,"icon":8,"children":379},"401 N Michigan Ave Chicago, IL 60611",[],{"label":381,"url":8,"target":8,"icon":8,"children":382},"Call Center Outsourcing",[],{"label":384,"url":8,"target":8,"icon":8,"children":385},"Live Chat Support Outsourcing",[],{"label":387,"url":8,"target":8,"icon":8,"children":388},"Email Support Outsourcing",[],[390],{"label":391,"url":392,"target":8,"icon":8,"children":393},"Privacy Policy","https:\u002F\u002Fhugoinc.com\u002Finfo\u002Fprivacy-policy\u002F",[],{"title":395,"cta":396},"Outsourcing + built to make you better.",{"label":318,"url":319,"target":8},"Sign up to our newsletter and stay hip.",{"x":399,"instagram":8,"facebook":400,"linkedin":401,"youtube":402},"https:\u002F\u002Ftwitter.com\u002Fthehugohq","https:\u002F\u002Fwww.facebook.com\u002FtheHugohq","https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fhugo-africa\u002F","https:\u002F\u002Fwww.youtube.com\u002F@thehugohq",[404,407,410,413],{"src":405,"alt":406},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F10\u002Fiso.svg","Information Security Management System Certification (ISO\u002FIEC 27001)",{"src":408,"alt":409},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2023\u002F10\u002Fmbe.svg","Minority Business Enterprise (MBE) Certification",{"src":411,"alt":412},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2025\u002F01\u002FHIPAA_1@0.5x.png","Health Insurance Portability and Accountability Act (HIPAA) Certification",{"src":414,"alt":415},"https:\u002F\u002Fhugoinc.com\u002Fwp-content\u002Fuploads\u002F2025\u002F01\u002FSOC_1@0.5x.png","AICPA System and Organization Controls (SOC) Certification for Service Organizations","© %YEAR% Copyright | All Rights Reserved",{"post":418,"author":8,"related":429,"more":448,"judgmentCall":467},{"title":419,"date":420,"updated":420,"seoTitle":421,"description":422,"focusKeyphrase":423,"slug":424,"author":425,"body":426,"schema":427,"minutes":428},"Tool Use","2026-11-10","Tool Use: How LLMs Call Tools and How It's Tested","Tool use lets an LLM call search, code and APIs. How the calling loop works, how benchmarks like BFCL and τ-bench test it, and where it fails.","tool use","tool-use","hugo","\u003Cp>Tool use is a large language model's ability to call external tools, such as search engines, calculators, code interpreters and APIs, and to use what they return in its answer or its next action. Researchers also call it tool learning. OpenAI's API documentation calls it function calling, also known as tool calling.\u003C\u002Fp>\n\n\u003Cp>The motivation is practical. Language models struggle with basic functionality such as arithmetic or factual lookup, where much simpler and smaller models excel, so a tool call hands that work to a system built for it. A 2024 survey of tool learning splits the workflow into four stages: task planning, tool selection, tool calling and response generation.\u003C\u002Fp>\n\n\u003Cp>Tool use is also how AI agents act: in the agent test environments NIST's CAISI used, agents complete tasks with sets of simulated tools. NIST describes AI agent systems as capable of planning and taking autonomous actions that impact real-world systems or environments.\u003C\u002Fp>\n\n\u003Ch2>Tool Use at a Glance\u003C\u002Fh2>\n\n\u003Ctable>\u003Ctbody>\u003Ctr>\u003Cth scope=\"row\">Also called\u003C\u002Fth>\u003Ctd>Function calling, tool calling, tool learning\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">What it does\u003C\u002Fth>\u003Ctd>Lets a model select a tool, fill in its arguments, and use the output in a response or a next step\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Where it's used in model development\u003C\u002Fth>\u003Ctd>Instruction-tuning data for tool calls, function-calling benchmarks, multi-turn agent evaluation, agent security testing\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">The human role\u003C\u002Fth>\u003Ctd>Writing and validating ground-truth call trajectories, checking that each path is executable and matches the user's intent, red teaming\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Limits\u003C\u002Fth>\u003Ctd>Wrong or hallucinated arguments, calls when no tool fits, loops in multi-step tasks, inconsistent results across runs, exposure to indirect prompt injection\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\n\n\u003Ch2>How Tool Use Works\u003C\u002Fh2>\n\n\u003Cp>Tool use works as a loop: the developer describes the available tools, the model decides whether to call one, the application runs the call, and the result goes back to the model.\u003C\u002Fp>\n\n\u003Ch3>The tool definition\u003C\u002Fh3>\n\n\u003Cp>Each tool is described to the model in the request. In OpenAI's API, a function is a specific kind of tool defined by a JSON schema, with a name, a description and typed parameters. The same platform offers custom tools that take free-text input and built-in tools that search the web, run code or access an MCP server.\u003C\u002Fp>\n\n\u003Ch3>The calling loop\u003C\u002Fh3>\n\n\u003Col>\u003Cli>The application sends a request with the tools the model could call.\u003C\u002Fli>\u003Cli>The model returns a tool call: a tool name and arguments.\u003C\u002Fli>\u003Cli>The application executes the call in its own code.\u003C\u002Fli>\u003Cli>The application sends the tool output back to the model.\u003C\u002Fli>\u003Cli>The model gives a final response or requests more tool calls.\u003C\u002Fli>\u003C\u002Fol>\n\n\u003Cp>The loop can repeat for as many calls as the task requires. The ReAct method interleaves reasoning traces with actions, so the model can track and update its plan and handle exceptions between calls.\u003C\u002Fp>\n\n\u003Ch3>Call patterns\u003C\u002Fh3>\n\n\u003Cp>The Berkeley Function Calling Leaderboard (BFCL) separates simple calls, multiple-function cases (pick one function from 2 to 4 options), parallel calls and parallel multiple calls. Its V3 release added multi-step tasks (several calls for one request) and multi-turn tasks (several user turns).\u003C\u002Fp>\n\n\u003Ch2>How Tool Use Is Trained and Evaluated\u003C\u002Fh2>\n\n\u003Cp>Tool use is trained on demonstrations of correct calls and evaluated by checking each call, or the system state the calls leave behind, against a reference.\u003C\u002Fp>\n\n\u003Ch3>Training data\u003C\u002Fh3>\n\n\u003Cul>\u003Cli>\u003Cstrong>Self-supervised:\u003C\u002Fstrong> Toolformer learned which APIs to call, when, and with what arguments from a handful of demonstrations per API.\u003C\u002Fli>\u003Cli>\u003Cstrong>Model-generated:\u003C\u002Fstrong> ToolLLM's ToolBench dataset covers 16,464 real-world RESTful APIs across 49 categories, with instructions and solution paths generated using ChatGPT.\u003C\u002Fli>\u003C\u002Ful>\n\n\u003Ch3>Evaluation methods\u003C\u002Fh3>\n\n\u003Cul>\u003Cli>\u003Cstrong>AST matching:\u003C\u002Fstrong> BFCL parses each call into an abstract syntax tree, then checks the function name, required parameters and types, and flags parameters that are not in the function documentation.\u003C\u002Fli>\u003Cli>\u003Cstrong>Execution:\u003C\u002Fstrong> BFCL also runs the functions to confirm the generated calls work.\u003C\u002Fli>\u003Cli>\u003Cstrong>Relevance detection:\u003C\u002Fstrong> when none of the provided functions fits, the expected output is no call, which shows whether a model invents a function and its parameters.\u003C\u002Fli>\u003Cli>\u003Cstrong>State checks:\u003C\u002Fstrong> BFCL V3 verifies the actual state of the API system after the model runs its functions. τ-bench compares the database state at the end of a conversation with an annotated goal state.\u003C\u002Fli>\u003Cli>\u003Cstrong>Reliability:\u003C\u002Fstrong> τ-bench's pass^k metric measures whether an agent succeeds consistently over multiple trials.\u003C\u002Fli>\u003C\u002Ful>\n\n\u003Ch2>Limits of Tool Use and the Human Role\u003C\u002Fh2>\n\n\u003Cp>Tool use fails in ways a final answer can hide: wrong arguments, invented calls, loops and inconsistent behavior across runs.\u003C\u002Fp>\n\n\u003Cul>\u003Cli>\u003Cstrong>Arguments and hallucination:\u003C\u002Fstrong> the Gorilla authors traced failures to models' inability to generate accurate input arguments and their tendency to hallucinate the wrong usage of an API call.\u003C\u002Fli>\u003Cli>\u003Cstrong>Loops:\u003C\u002Fstrong> BFCL V3 documents models listing a directory, trying to write to a file that isn't there, and listing again.\u003C\u002Fli>\u003Cli>\u003Cstrong>Consistency:\u003C\u002Fstrong> in the 2024 τ-bench paper, state-of-the-art function-calling agents such as gpt-4o succeeded on fewer than 50% of tasks, and pass^8 was below 25% in the retail domain.\u003C\u002Fli>\u003Cli>\u003Cstrong>Security:\u003C\u002Fstrong> NIST's Center for AI Standards and Innovation (CAISI) warns that many agents are vulnerable to agent hijacking, an indirect prompt injection hidden in data such as an email, a file or a website.\u003C\u002Fli>\u003C\u002Ful>\n\n\u003Ch3>Where people fit\u003C\u002Fh3>\n\n\u003Cp>The BFCL V3 team concluded that a synthetic dataset alone is not enough and that human labeling is essential. Expert human labelers wrote ground-truth trajectories for each turn, and the dataset went through 11 rounds of data filtering. People and automated checks then validated each ground-truth path for executability, alignment with the user's request and brevity.\u003C\u002Fp>\n\n\u003Ch2>Tool Use vs. Function Calling vs. AI Agents\u003C\u002Fh2>\n\n\u003Cp>Tool use is the capability, function calling is an API mechanism for it, and an AI agent is a system that plans and takes autonomous actions, often chaining several calls together.\u003C\u002Fp>\n\n\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Term\u003C\u002Fth>\u003Cth scope=\"col\">What it is\u003C\u002Fth>\u003Cth scope=\"col\">How it is tested\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Cth scope=\"row\">Tool use\u003C\u002Fth>\u003Ctd>A model's ability to plan, select, call and use external tools\u003C\u002Ftd>\u003Ctd>Per-stage benchmarks for planning, selection, calling and response\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">Function calling\u003C\u002Fth>\u003Ctd>Tool calls made through tools defined by a JSON schema\u003C\u002Ftd>\u003Ctd>Call matching and execution, as in BFCL\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Cth scope=\"row\">AI agent\u003C\u002Fth>\u003Ctd>A system that plans and takes autonomous actions in real-world systems\u003C\u002Ftd>\u003Ctd>Multi-step and multi-turn tasks scored on end state, plus hijacking tests\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\n\n\u003Ch2>Tool Use at Hugo\u003C\u002Fh2>\n\n\u003Cp>Hugo's \u003Ca href=\"\u002Fservices\u002Freasoning-agentic-coding-stem-evals\u002F\">Advanced Reasoning, Agentic Coding and STEM Evals teams\u003C\u002Fa> evaluate tool use and multi-step agent behavior by running it, not by reading it. Reviewers trained on the client's tools assess tool calls, terminal commands, repository navigation and error recovery across whole trajectories, and every sandbox is verified before an evaluation batch, with environment failures logged separately from model failures. A QA and calibration lead owns the quality standards. Hugo's guide to \u003Ca href=\"\u002Fblog\u002Fai-agent-evaluation-testing-reasoning-tool-use-task-completion\u002F\">testing agent reasoning, tool use and task completion\u003C\u002Fa> covers the evaluation side in more depth.\u003C\u002Fp>\n\n\u003Ch2>Related Terms\u003C\u002Fh2>\n\n\u003Cul>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fai-agent-evaluation\u002F\">AI Agent Evaluation\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Flarge-language-model-llm\u002F\">Large Language Model (LLM)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fswe-bench\u002F\">SWE-Bench\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fai-red-teaming\u002F\">AI Red Teaming\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Freward-hacking\u002F\">Reward Hacking\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fsupervised-fine-tuning-sft\u002F\">Supervised Fine-Tuning (SFT)\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fsynthetic-data\u002F\">Synthetic Data\u003C\u002Fa>\u003C\u002Fli>\u003Cli>\u003Ca href=\"\u002Fglossary-post\u002Fprocess-reward-model-prm\u002F\">Process Reward Model (PRM)\u003C\u002Fa>\u003C\u002Fli>\u003C\u002Ful>\n\n\u003Ch2>Tool Use FAQs\u003C\u002Fh2>\n\n\u003Ch3>What is tool use in large language models?\u003C\u002Fh3>\n\n\u003Cp>Tool use in large language models is the ability to call external tools, such as search engines, calculators, code interpreters and APIs, and to use their results in a response. The 2023 Toolformer paper framed the motivation: language models struggle with arithmetic and factual lookup, where much simpler and smaller models excel. A survey of tool learning splits the workflow into four stages: task planning, tool selection, tool calling and response generation. When scoping an evaluation, decide which stages you are grading.\u003C\u002Fp>\n\n\u003Ch3>Is tool use the same as function calling?\u003C\u002Fh3>\n\n\u003Cp>Tool use and function calling are near synonyms: tool use names the capability, and function calling is the API mechanism through which a model exercises it. OpenAI's documentation says function calling is also known as tool calling, and defines a function as a specific kind of tool described by a JSON schema. The Berkeley Function Calling Leaderboard likewise treats function calling and tool calling as one capability. Use tool use for the capability and function calling for the API mechanism.\u003C\u002Fp>\n\n\u003Ch3>How do you evaluate an LLM's tool use?\u003C\u002Fh3>\n\n\u003Cp>LLM tool use is evaluated by matching each call against a reference, executing the call, or checking the system state the calls leave behind. The Berkeley Function Calling Leaderboard parses calls into an abstract syntax tree to check function names, required parameters and types, and also executes functions. Its relevance-detection tests expect no call when no provided function fits. τ-bench compares the database state at the end of a conversation with an annotated goal state and adds a pass^k metric for reliability over multiple trials. Ask an evaluation partner how it scores tasks with more than one valid path.\u003C\u002Fp>\n\n\u003Ch3>Why do LLMs fail at tool use?\u003C\u002Fh3>\n\n\u003Cp>LLMs fail at tool use mainly through inaccurate arguments, hallucinated calls, loops and inconsistent behavior across runs. The Gorilla paper attributed failures to models' inability to generate accurate input arguments and their tendency to hallucinate the wrong usage of an API call. BFCL V3 documents models listing a directory, trying to write to a file that isn't there, and listing again. In the 2024 τ-bench paper, state-of-the-art function-calling agents such as gpt-4o succeeded on fewer than 50% of tasks. Score whole trajectories, not only final answers, so mid-task errors are counted.\u003C\u002Fp>\n\n\u003Ch3>How are LLMs trained to use tools?\u003C\u002Fh3>\n\n\u003Cp>LLMs learn tool use from demonstrations of correct calls, which can come from the model itself, another model or human labelers. Toolformer was trained in a self-supervised way from a handful of demonstrations per API. ToolLLM built ToolBench from 16,464 real-world RESTful APIs across 49 categories, using ChatGPT to generate instructions and search for valid solution paths. Gorilla fine-tuned a LLaMA-based model and paired it with a document retriever to adapt to documentation changes. The BFCL V3 team concluded that synthetic data alone is not enough and human labeling is essential.\u003C\u002Fp>\n\n\u003Ch3>What are the security risks of LLM tool use?\u003C\u002Fh3>\n\n\u003Cp>One security risk of LLM tool use that NIST highlights is agent hijacking, an indirect prompt injection in which malicious instructions hidden in data such as an email, file or website push an agent into unintended actions. In NIST CAISI's tests on agents powered by an upgraded Claude 3.5 Sonnet, attacks built in a red-teaming exercise raised the attack success rate from 11% for the strongest baseline attack to 81% for the strongest new attack. Attempting each of five injection tasks 25 times raised the average attack success rate from 57% to 80%. Test tool-using models against attacks built for them, over multiple attempts, and constrain agent access.\u003C\u002Fp>\n\n\u003Ch3>When should you use human reviewers for tool-use evaluation?\u003C\u002Fh3>\n\n\u003Cp>Human reviewers are needed in tool-use evaluation wherever ground truth must be written or checked, especially for multi-turn trajectories. For BFCL V3, expert human labelers wrote ground-truth trajectories for each turn, and the dataset went through 11 rounds of data filtering. People and automated checks confirmed that each ground-truth path was executable, aligned with the user's request and concise. When outsourcing this work, ask how reviewers are trained on your tools, how disputed trajectories are resolved, and how environment errors are separated from model errors.\u003C\u002Fp>\n\n\u003Ch2>Sources\u003C\u002Fh2>\n\n\u003Col>\u003Cli>Changle Qu, Sunhao Dai, Xiaochi Wei, Hengyi Cai, Shuaiqiang Wang, Dawei Yin, Jun Xu, Ji-Rong Wen. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2405.17935\">Tool Learning with Large Language Models: A Survey\u003C\u002Fa>. Frontiers of Computer Science. Updated November 4, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>OpenAI. \u003Ca href=\"https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Ffunction-calling\">Function calling | OpenAI API\u003C\u002Fa>. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, Thomas Scialom. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2302.04761\">Toolformer: Language Models Can Teach Themselves to Use Tools\u003C\u002Fa>. Updated February 9, 2023. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, Yuan Cao. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2210.03629\">ReAct: Synergizing Reasoning and Acting in Language Models\u003C\u002Fa>. Updated March 10, 2023. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Shishir G. Patil, Tianjun Zhang, Xin Wang, Joseph E. Gonzalez. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2305.15334\">Gorilla: Large Language Model Connected with Massive APIs\u003C\u002Fa>. Updated May 24, 2023. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Yujia Qin, Shihao Liang, Yining Ye, et al. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2307.16789\">ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs\u003C\u002Fa>. Updated October 3, 2023. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Fanjia Yan, Huanzhi Mao, Charlie Cheng-Jie Ji, Ion Stoica, Joseph E. Gonzalez, Tianjun Zhang, Shishir G. Patil (UC Berkeley). \u003Ca href=\"https:\u002F\u002Fgorilla.cs.berkeley.edu\u002Fblogs\u002F8_berkeley_function_calling_leaderboard.html\">Berkeley Function Calling Leaderboard\u003C\u002Fa>. Updated August 19, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, et al. (UC Berkeley). \u003Ca href=\"https:\u002F\u002Fgorilla.cs.berkeley.edu\u002Fblogs\u002F13_bfcl_v3_multi_turn.html\">BFCL V3 • Multi-Turn &amp; Multi-Step Function Calling\u003C\u002Fa>. Updated December 10, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>UC Berkeley Gorilla project. \u003Ca href=\"https:\u002F\u002Fgorilla.cs.berkeley.edu\u002Fleaderboard.html\">Berkeley Function Calling Leaderboard (BFCL) V4\u003C\u002Fa>. Updated April 12, 2026. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan. \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2406.12045\">$τ$-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains\u003C\u002Fa>. Updated June 17, 2024. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>NIST, Center for AI Standards and Innovation (CAISI). \u003Ca href=\"https:\u002F\u002Fwww.nist.gov\u002Fnews-events\u002Fnews\u002F2025\u002F01\u002Ftechnical-blog-strengthening-ai-agent-hijacking-evaluations\">Technical Blog: Strengthening AI Agent Hijacking Evaluations\u003C\u002Fa>. Updated December 19, 2025. Accessed November 10, 2026.\u003C\u002Fli>\u003Cli>NIST, Center for AI Standards and Innovation (CAISI). \u003Ca href=\"https:\u002F\u002Fwww.nist.gov\u002Fnews-events\u002Fnews\u002F2026\u002F01\u002Fcaisi-issues-request-information-about-securing-ai-agent-systems\">CAISI Issues Request for Information About Securing AI Agent Systems\u003C\u002Fa>. Updated January 12, 2026. Accessed November 10, 2026.\u003C\u002Fli>\u003C\u002Fol>",[],9,[430,436,442],{"title":431,"date":420,"updated":420,"seoTitle":432,"description":433,"focusKeyphrase":434,"slug":435,"author":425},"Agent Trajectory","Agent Trajectory: Definition, Grading and Uses","An agent trajectory is the full record of an AI agent's run: reasoning, tool calls and results. How it is graded, used in training and where it falls short.","agent trajectory","agent-trajectory",{"title":437,"date":420,"updated":420,"seoTitle":438,"description":439,"focusKeyphrase":440,"slug":441,"author":425},"AI Agent Evaluation","AI Agent Evaluation: Methods, Metrics and Pitfalls","How AI agent evaluation works: sandboxed tasks, outcome grading, transcript review, pass@k and pass^k, cost tracking, and how agents cheat on benchmarks.","ai agent evaluation","ai-agent-evaluation",{"title":443,"date":420,"updated":420,"seoTitle":444,"description":445,"focusKeyphrase":446,"slug":447,"author":425},"Benchmark Contamination","Benchmark Contamination: Causes, Detection, Fixes","Benchmark contamination is when test data leaks into LLM training and inflates scores. How it happens, how it is detected and how teams prevent it.","benchmark contamination","benchmark-contamination",[449,455,461],{"title":450,"date":420,"updated":420,"seoTitle":451,"description":452,"focusKeyphrase":453,"slug":454,"author":425},"Chain-of-Thought (CoT)","Chain-of-Thought (CoT): How It Works and Its Limits","Chain-of-thought (CoT) explained: few-shot and zero-shot prompting, process supervision, reasoning models, faithfulness limits and CoT monitoring.","chain-of-thought","chain-of-thought-cot",{"title":456,"date":420,"updated":420,"seoTitle":457,"description":458,"focusKeyphrase":459,"slug":460,"author":425},"Direct Preference Optimization (DPO)","Direct Preference Optimization (DPO): How It Works","Direct Preference Optimization (DPO) explained: how the loss and beta work, what data it needs, how it compares with PPO-based RLHF, and its limits.","direct preference optimization","direct-preference-optimization-dpo",{"title":462,"date":420,"updated":420,"seoTitle":463,"description":464,"focusKeyphrase":465,"slug":466,"author":425},"Group Relative Policy Optimization (GRPO)","Group Relative Policy Optimization: How GRPO Works","Group Relative Policy Optimization (GRPO) explained: how group-relative advantages work, how GRPO differs from PPO and DPO, and its known limits.","group relative policy optimization","group-relative-policy-optimization-grpo",false,1795189927763]