Vision and Tools
The agent drives the Teams side through client-side functions. Unlike agent platforms where you define tools in a dashboard, the bridge registers these automatically in every session’s Settings (under agent.think.functions, with no endpoint, so Deepgram routes the call back to the bridge). The agent calls a function, the bridge executes it and returns the result as a FunctionCallResponse.
To add your own tools, see Extending the Agent’s Tools.
look - see the caller’s camera or screen
Section titled “look - see the caller’s camera or screen”Parameters: optional source (camera or screenshare) and question. The Voice Agent API is audio-only (no image input), so the bridge answers look itself: it takes the latest buffered video frame and describes it via your vision endpoint.
- If
VISION_API_URL/VISION_MODELare set (or you pass a custom describer via thevisionargument in code), the frame goes to that endpoint and the text description returns as the function result. - Without a vision endpoint,
looktells the agent vision is unavailable.
show_image - put an image on the bot’s tile
Section titled “show_image - put an image on the bot’s tile”Parameters: {url} (a public https jpeg/png), plus optional caption. The bridge fetches the image server-side and sends a display.image to the Teams side.
express - avatar emotion
Section titled “express - avatar emotion”Parameter: {emotion}. The bridge forwards an expression cue so the bot’s avatar reflects the agent’s sentiment.
end_call - hang up
Section titled “end_call - hang up”The agent decides the call is done (the caller said goodbye, or asked to hang up). The bridge acknowledges the function, sends session.end to StandIn, and tears down both sockets.
Group-call awareness (no tool needed)
Section titled “Group-call awareness (no tool needed)”The bridge feeds the agent non-interrupting context automatically, carried in the prompt via UpdatePrompt (the Voice Agent API has no separate context message): participant counts (“N humans on the call, stay quiet unless directly addressed”), DTMF key presses, and - in group calls - a rate-limited note when the active speaker changes. This helps the agent stay quiet in meetings until addressed.