call_logs_write
Create, update, or delete a call log record with field-level control. Use it to edit existing log data—not to place calls; use start_outbound_call for dialing.
Instructions
Create, edit or delete a call log record. Actions: create (callLog needs agent_id, type web|inbound|outbound, start_time ISO, agent_phone_number and customer_phone_number — null for web calls), update (callLogId + callLog with only the fields to change; agent_id and start_time cannot change), delete (callLogId; permanent). This edits records only — to place a call use start_outbound_call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | compact (default) = light mode: long text is cut and bulky blobs are replaced by a size marker. full = complete API response. | |
| action | Yes | ||
| callLog | No | Call log fields (snake_case, as returned by call_logs_read). | |
| callLogId | No | Required for update / delete. |