User Activity Write Tool
user-activity-writeCreate CRM activity entries or complete scheduled activities. Requires user_id. create requires content and accepts an optional deal_id belonging to that contact, so the activity appears on both the contact and the deal. complete requires activity_id. Entries and completions are attributed to the authenticated user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform. | |
| content | No | Activity content/notes (plain text, max 10000 chars). Required for "create" action. | |
| deal_id | No | Optional for create: attach the activity to this deal, which must belong to user_id. Omit or pass null for a contact-only activity. | |
| user_id | Yes | User id. Required for all actions. | |
| activity_id | No | Activity ID. Required for "complete". | |
| assigned_to | No | Optional staff user ID to assign. Only used when scheduled_at is provided. | |
| scheduled_at | No | Optional future scheduled date/time for "create" (ISO 8601). If omitted, the activity is logged as completed. |