Voice Tool Call

Run one voice function tool for a responses-mode session.

The backend Responses model's function call arrives at the app; the app relays {call_id, session_id, thread_id, arguments} here and returns our response as the function_call_output. ask_every is executed by the app (a full Every agent turn), so it is a 400 here; any other unknown name is a 404. Every read and write runs as the caller (see services/voice_tools.py).

post/api/voice/tools/{name}

Path parameters

namestring required

Query parameters

user_idstring
org_idstring

Request body

call_idstring required
session_idstring required
thread_idstring nullable
argumentsobject

Response

Successful Response

{"stackTrail":"paths:/api/voice/tools/{name}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 41 revisions of this API.1