cURL
curl --request GET \ --url https://eu-gcp-api.vg-stuff.com/v3/agents/{agentId}/tools \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "data": [ { "id": "<string>", "name": "<string>", "description": "<string>", "isDefault": true, "method": "GET", "serverUrl": "<string>", "serverUrlSecret": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "disabled": true, "isVapiTool": true, "vapiId": "<string>", "isGlobal": true, "variablesIds": [ "<string>" ], "agentId": "<string>", "userId": "<string>", "backchannellingPhrases": [ "<string>" ], "fields": [ { "id": "<string>", "in": "<string>", "type": "string", "value": "<unknown>", "defaultValue": "<unknown>", "key": "<string>", "description": "<string>", "required": true, "reusable": true, "isEnv": true, "isSystem": true, "isGlobal": true, "agentId": "<string>", "userId": "<string>" } ], "channels": [ "web-chat" ] } ] }
Gets all tools for a specific agent, this route must use the new V3 endpoints.
id
{{tool:tool_id}}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the agent
Successful response
Indicates if the request was successful
Response message
Array of tool objects
Show child attributes