Log interaction
log_interactionRecord calls, emails, SMS messages, visits, and notes on a lead to track conversation facts; pass an idempotency key on retries.
Instructions
Record a call, email, SMS, visit, or note on a lead. Summary should be the facts of the conversation, not a guess. Pass an idempotencyKey on retry. Omitting occurredAt stamps the server clock, and that default is not part of the idempotency hash.
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": {
"leadId": "<leadId>",
"channel": "<channel>",
"direction": "<direction>",
"summary": "<summary>"
},
"name": "log_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | ||
| channel | Yes | ||
| summary | Yes | What was said. Facts only. | |
| direction | Yes | ||
| occurredAt | No | When it happened. Default is the server clock. | |
| idempotencyKey | No |