cURL
curl --request PATCH \ --url https://api.revring.ai/v1/agents/{id}/custom-tools/{toolId} \ --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": {} } }
Update custom tool configuration
API key for authentication. Generate API keys from the RevRing dashboard.
Agent ID
Tool ID
64
Whether this tool is enabled
OpenAI function schema (can be null to remove)
Custom tool updated
Custom function calling tool for agents
Show child attributes
Tool name (used in function calls)
Webhook URL to invoke
OpenAI function schema defining parameters