Voice Agent Function Calling: Real-Time Data Lookup Guide

Deepgram Learn ·

A guide on voice agent function calling that covers direct answering capability, latency tolerance thresholds from a 2013 study, function selection accuracy decline with increasing tool count, and fixed two-hour session limits including warning and error signals. Lisez 4 points de vue avec leurs éléments à l’appui et les liens vers les sources.

En un coup d’œil

  • Function calling enables direct answers instead of call transfers

    Function calling allows a voice agent to directly answer questions like 'Where’s my order?' rather than transferring the caller to a human agent.

    Lire le moment probant · Paragraphe 1
  • Perceived willingness drops significantly after 600–800 ms of silence

    Ratings of perceived willingness drop noticeably at 600 ms and become statistically significant between 700 and 800 ms, based on the 2013 gap-tolerance study by Roberts and Francis.

    Lire le moment probant · Paragraphe 22
  • Tool count degrades selection accuracy: 98% at 10 tools → 88% at 100

    The HumanMCP study measured a decline in function selection accuracy from 98% with 10 tools to 88% with 100 tools.

    Lire le moment probant · Paragraphe 72
  • Two-hour session limit applies regardless of in-flight lookups

    Voice agent sessions expire after two hours; an in-flight function call does not extend the session, and the system emits MAXIMUM_SESSION_LENGTH_APPROACHING at 1h 55m and MAXIMUM_SESSION_LENGTH_REACHED at 2h.

    Lire le moment probant · Paragraphe 83

Passages clés4

Passages attribués et accompagnés du contexte nécessaire à leur vérification. Ouvrez le texte original pour vérifier la source.

function selection accuracy

Tool count degrades selection accuracy: 98% at 10 tools → 88% at 100

Extrait original

The HumanMCP study measured a drop from 98% at 10 tools to 88% at 100.
Contexte

When the toolset grows, selection accuracy falls. Add functions one at a time and re-check selection accuracy after each. One lookup, three failure lines, and a filler function make a complete first release.

voice agent function calling

Function calling enables direct answers instead of call transfers

Extrait original

Function calling is how a voice agent answers "where's my order?" instead of transferring the caller to someone who can.
Contexte

One order-status lookup on the inbound telephony agent pattern takes two round trips, three function calls, and a spoken line for every way it can fail.

latency tolerance in voice interactions

Perceived willingness drops significantly after 600–800 ms of silence

Extrait original

Ratings of perceived willingness drop off noticeably at 600ms in the classic 2013 gap-tolerance study from Roberts and Francis, and the difference turns statistically significant between 700 and 800ms.
Contexte

Dead air is what the caller hears while your handler works, and it costs you fast. InjectAgentMessage is what covers that silence in the reference pattern.

session limits in voice agents

Two-hour session limit applies regardless of in-flight lookups

Extrait original

Yes, at two hours, and an in-flight lookup won't hold the session open. You get a Warning with MAXIMUM_SESSION_LENGTH_APPROACHING at 1 hour 55 minutes, then an Error with MAXIMUM_SESSION_LENGTH_REACHED at the two-hour limit .
Contexte

KeepAlive doesn't extend it, and the docs don't cover a pending FunctionCallRequest at close. Finish or abandon it, then reconnect with agent.context .

Source et méthodologie

Ces points de vue renvoient à leurs sources originales. Les reformulations sont signalées et ne sont pas des citations mot à mot.

Ouvrir la transcription ou les documents sources (s’ouvre dans un nouvel onglet)Signaler un problème