Log activity
log_activityRecord a call, email, meeting, DM, or note against a contact and optional deal, with a preview and confirmation step before anything is saved.
Instructions
Record a call, email, meeting, DM or note against a contact (and optionally a deal). TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contact_id": "<contact_id>",
"type": "<type>",
"summary": "<summary>"
},
"name": "log_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO timestamp (default now) | |
| type | Yes | ||
| deal_id | No | ||
| summary | Yes | ||
| contact_id | Yes | ||
| confirm_token | No | Omit on the first call to get a preview. Pass the token from the preview (with identical arguments) to apply the change. |