cURL
curl --request POST \ --url https://api.revring.ai/v1/agents/{id}/custom-tools \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "<string>", "webhookUrl": "<string>", "enabled": true, "schema": {} } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "webhookUrl": "<string>", "enabled": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "schema": {} } }
Add a custom tool that the agent can invoke via function calling
API key for authentication. Generate API keys from the RevRing dashboard.
Agent ID
64
OpenAI function calling schema
Custom tool created
Custom function calling tool for agents
Show child attributes
Tool name (used in function calls)
Webhook URL to invoke
OpenAI function schema defining parameters