curl --location --request POST 'https://snakk-backend-production.up.railway.app/api/agents//tools' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "lookupCustomer",
"display_name": "Customer Lookup",
"description": "Hent kundeinformasjon fra CRM",
"type": "webhook",
"webhook_url": "https://hook.eu2.make.com/abc123",
"webhook_method": "POST",
"parameters": {
"customerId": {
"type": "string",
"description": "Kunde ID eller telefonnummer"
}
},
"enabled": true
}'