{ "message": "Tool updated successfully", "data": { "id": 1, "name": "send_notification", "description": "Use this tool to send a notification to the customer. Call this when customer requests updates.", "type": "http", "endpoint": "https://api.yourcompany.com/notifications/send", "method": "POST", "body_format": "json", "timeout": 15, "headers": [ { "name": "Content-Type", "value": "application/json" } ], "static_fields": [ { "key": "caller", "value": "{{customer_phone}}" } ], "schema": [ { "name": "message", "type": "string", "description": "The notification message to send", "required": true }, { "name": "send_sms", "type": "boolean", "description": "Whether to also send SMS notification", "required": false } ], "created_at": "2025-10-10T12:00:00.000000Z", "updated_at": "2025-10-10T14:30:00.000000Z" }}
{ "message": "Tool not found"}
{ "message": "Validation failed", "errors": { "name": ["Tool name must contain only letters, numbers and underscores, and start with a letter or underscore."] }}
Mid-call Action aktualisieren
Aktualisiere eine bestehende Mid-call Action in Famulor per API. Ändere Name, Endpunkt, Parameter oder Beschreibung für deinen KI-Telefonassistenten.
{ "message": "Tool updated successfully", "data": { "id": 1, "name": "send_notification", "description": "Use this tool to send a notification to the customer. Call this when customer requests updates.", "type": "http", "endpoint": "https://api.yourcompany.com/notifications/send", "method": "POST", "body_format": "json", "timeout": 15, "headers": [ { "name": "Content-Type", "value": "application/json" } ], "static_fields": [ { "key": "caller", "value": "{{customer_phone}}" } ], "schema": [ { "name": "message", "type": "string", "description": "The notification message to send", "required": true }, { "name": "send_sms", "type": "boolean", "description": "Whether to also send SMS notification", "required": false } ], "created_at": "2025-10-10T12:00:00.000000Z", "updated_at": "2025-10-10T14:30:00.000000Z" }}
{ "message": "Tool not found"}
{ "message": "Validation failed", "errors": { "name": ["Tool name must contain only letters, numbers and underscores, and start with a letter or underscore."] }}
Dieser Endpunkt ermöglicht es dir, eine bestehende Mid-call Action zu aktualisieren. Alle Felder sind optional — gib nur die Felder an, die du aktualisieren möchtest.
Bei Mid-call Actions, die mit einem Automation-Platform-Flow verknüpft sind, werden die Felder endpoint, method und body_format ignoriert, um die Flow-Verbindung zu schützen.
Das aktualisierte Mid-call-Action-Objekt mit allen aktuellen Werten
{ "message": "Tool updated successfully", "data": { "id": 1, "name": "send_notification", "description": "Use this tool to send a notification to the customer. Call this when customer requests updates.", "type": "http", "endpoint": "https://api.yourcompany.com/notifications/send", "method": "POST", "body_format": "json", "timeout": 15, "headers": [ { "name": "Content-Type", "value": "application/json" } ], "static_fields": [ { "key": "caller", "value": "{{customer_phone}}" } ], "schema": [ { "name": "message", "type": "string", "description": "The notification message to send", "required": true }, { "name": "send_sms", "type": "boolean", "description": "Whether to also send SMS notification", "required": false } ], "created_at": "2025-10-10T12:00:00.000000Z", "updated_at": "2025-10-10T14:30:00.000000Z" }}
{ "message": "Tool not found"}
{ "message": "Validation failed", "errors": { "name": ["Tool name must contain only letters, numbers and underscores, and start with a letter or underscore."] }}