Get Tools
curl --request GET \
--url https://api.threetone.in/v1/voiceai/tools \
--header 'x-api-key: <api-key>'import requests
url = "https://api.threetone.in/v1/voiceai/tools"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.threetone.in/v1/voiceai/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tools": [
{
"id": "<string>",
"created_at_unix_secs": 123,
"tool_config": {
"api_schema": {
"method": "GET",
"path_params_schema": {
"agent_id": {
"type": "string"
}
},
"url": "https://example.com/agents/{agent_id}"
},
"description": "Loads agent details from your CRM.",
"name": "fetch_agent",
"response_timeout_secs": 20,
"type": "webhook"
},
"access_info": {
"is_creator": true,
"creator_name": "<string>",
"creator_email": "<string>"
},
"usage_stats": {
"total_calls": 0,
"avg_latency_secs": 123
}
}
]
}Tools
Get Tools
Get all tools that are available in the workspace.
GET
/
v1
/
voiceai
/
tools
Get Tools
curl --request GET \
--url https://api.threetone.in/v1/voiceai/tools \
--header 'x-api-key: <api-key>'import requests
url = "https://api.threetone.in/v1/voiceai/tools"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.threetone.in/v1/voiceai/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tools": [
{
"id": "<string>",
"created_at_unix_secs": 123,
"tool_config": {
"api_schema": {
"method": "GET",
"path_params_schema": {
"agent_id": {
"type": "string"
}
},
"url": "https://example.com/agents/{agent_id}"
},
"description": "Loads agent details from your CRM.",
"name": "fetch_agent",
"response_timeout_secs": 20,
"type": "webhook"
},
"access_info": {
"is_creator": true,
"creator_name": "<string>",
"creator_email": "<string>"
},
"usage_stats": {
"total_calls": 0,
"avg_latency_secs": 123
}
}
]
}⌘I