Accounts
Calls, Messages, Stages
Corpora, Query, Sources
Webhooks
List Call Stage Tools
Returns all tools that were available during a specific stage of a call
curl --request GET \
--url https://api.ultravox.ai/api/calls/{call_id}/stages/{call_stage_id}/tools \
--header 'X-API-Key: <api-key>'
[
{
"callToolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"toolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"definition": {
"description": "<string>",
"dynamicParameters": [
{
"name": "<string>",
"location": "PARAMETER_LOCATION_UNSPECIFIED",
"schema": {},
"required": true
}
],
"staticParameters": [
{
"name": "<string>",
"location": "PARAMETER_LOCATION_UNSPECIFIED",
"value": "<any>"
}
],
"automaticParameters": [
{
"name": "<string>",
"location": "PARAMETER_LOCATION_UNSPECIFIED",
"knownValue": "KNOWN_PARAM_UNSPECIFIED"
}
],
"timeout": "<string>",
"precomputable": true,
"http": {
"baseUrlPattern": "<string>",
"httpMethod": "<string>",
"authHeaders": [
"<string>"
],
"authQueryParams": [
"<string>"
],
"callTokenScopes": [
"<string>"
]
},
"client": {}
}
}
]
Authorizations
API key
Response
The possibly overridden name of the tool.
A tool as used for a particular call (omitting auth details).
The description of the tool.
The parameters presented to the model.
The name of the parameter.
Where the parameter is used.
PARAMETER_LOCATION_UNSPECIFIED
, PARAMETER_LOCATION_QUERY
, PARAMETER_LOCATION_PATH
, PARAMETER_LOCATION_HEADER
, PARAMETER_LOCATION_BODY
The JsonSchema definition of the parameter. This typically includes things like type, description, enum values, format, other restrictions, etc.
Whether the parameter is required.
Parameters added unconditionally when the tool is invoked.
The name of the parameter.
Where the parameter is used.
PARAMETER_LOCATION_UNSPECIFIED
, PARAMETER_LOCATION_QUERY
, PARAMETER_LOCATION_PATH
, PARAMETER_LOCATION_HEADER
, PARAMETER_LOCATION_BODY
The value of the parameter.
Parameters automatically set by the system.
The name of the parameter.
Where the parameter is used.
PARAMETER_LOCATION_UNSPECIFIED
, PARAMETER_LOCATION_QUERY
, PARAMETER_LOCATION_PATH
, PARAMETER_LOCATION_HEADER
, PARAMETER_LOCATION_BODY
The value to set for the parameter.
KNOWN_PARAM_UNSPECIFIED
, KNOWN_PARAM_CALL_ID
, KNOWN_PARAM_CONVERSATION_HISTORY
, KNOWN_PARAM_OUTPUT_SAMPLE_RATE
The maximum amount of time the tool is allowed for execution. The conversation is frozen while tools run, so prefer sticking to the default unless you're comfortable with that consequence. If your tool is too slow for the default and can't be made faster, still try to keep this timeout as low as possible.
The tool is guaranteed to be non-mutating, repeatable, and free of side-effects. Such tools can safely be executed speculatively, reducing their effective latency. However, the fact they were called may not be reflected in the call history if their result ends up unused.
Details for an HTTP tool.
The base URL pattern for the tool, possibly with placeholders for path parameters.
The HTTP method for the tool.
Auth headers added when the tool is invoked.
Auth query parameters added when the tool is invoked.
If the tool requires a call token, the scopes that must be present in the token. If this is empty, no call token will be created.
Details for a client-implemented tool. Only body parameters are allowed for client tools.
curl --request GET \
--url https://api.ultravox.ai/api/calls/{call_id}/stages/{call_stage_id}/tools \
--header 'X-API-Key: <api-key>'
[
{
"callToolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"toolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"definition": {
"description": "<string>",
"dynamicParameters": [
{
"name": "<string>",
"location": "PARAMETER_LOCATION_UNSPECIFIED",
"schema": {},
"required": true
}
],
"staticParameters": [
{
"name": "<string>",
"location": "PARAMETER_LOCATION_UNSPECIFIED",
"value": "<any>"
}
],
"automaticParameters": [
{
"name": "<string>",
"location": "PARAMETER_LOCATION_UNSPECIFIED",
"knownValue": "KNOWN_PARAM_UNSPECIFIED"
}
],
"timeout": "<string>",
"precomputable": true,
"http": {
"baseUrlPattern": "<string>",
"httpMethod": "<string>",
"authHeaders": [
"<string>"
],
"authQueryParams": [
"<string>"
],
"callTokenScopes": [
"<string>"
]
},
"client": {}
}
}
]