@elevenlabs/client@1.7.0
Minor Changes
-
1216ded: Add full tool result payload support to
onAgentToolResponse.The
onAgentToolResponsecallback now also receivesagent_tool_response_full_payloadserver events, delivering the rawfull_tool_resultstring (capped at 64 KB) alongside the existing summary events. Consumers can distinguish between the two by checking for the presence offull_tool_resulton the payload. To receive full payloads, enable theagent_tool_response_full_payloadclient event in the agent's configuration UI.<ConversationProvider agentId="…" onAgentToolResponse={payload => { if ("full_tool_result" in payload) { if (payload.truncated) { console.warn("full payload truncated to 64 KB"); } console.log(payload.tool_name, payload.full_tool_result); } else { console.log(payload.tool_call_id, payload.is_error); } }} > … </ConversationProvider>The same callback is available on
useConversation,startSession, and the lower-levelConversation.startSessionin@elevenlabs/client.
Patch Changes
- Updated dependencies [1216ded]
- @elevenlabs/types@0.13.0
Fetched May 8, 2026


