logLeadActivity
Record an activity event like call, email, or SMS against a lead to update interaction history in Lofty CRM.
Instructions
Log an activity event against a lead.
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>",
"activityType": "<activityType>"
},
"name": "logLeadActivity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | Lead ID | |
| activityType | Yes | Type of activity (e.g. call, email, sms) | |
| note | No | Optional note about the activity |