activity_manage
Create, get, update, delete, or restore an activity/interaction. • action="create": Record a new activity. Requires type, occurred_at, participant_contact_ids. Optional title, description, duration_minutes, location, activity_type_id. • action="get": Get full details of an activity. Requires id. • action="update": Update an activity. Requires id. Optional type, title, description, occurred_at, duration_minutes, location, participant_contact_ids. • action="delete": Soft-delete an activity. Requires id. • action="restore": Restore a soft-deleted activity. Requires id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The activity ID (required for "get", "update", "delete", "restore") | |
| type | No | Type of interaction (required for "create", optional for "update") | |
| title | No | Title (e.g. "Coffee at Blue Bottle") | |
| action | Yes | Action to perform | |
| location | No | Where it happened | |
| description | No | Description or notes | |
| occurred_at | No | When it happened (ISO date/datetime) (required for "create", optional for "update") | |
| activity_type_id | No | Custom activity type ID | |
| duration_minutes | No | Duration in minutes | |
| participant_contact_ids | No | Contact IDs of participants (required for "create", optional for "update") |