pipedrive_mail_threads_update
Update Pipedrive mail threads by linking them to deals or leads, marking read/unread, archiving/unarchiving, and sharing with your company.
Instructions
Update a mail thread: link to deal/lead, mark read/unread, archive/unarchive, share.
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": {
"thread_id": "<thread_id>"
},
"name": "pipedrive_mail_threads_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | No | Link thread to this deal ID | |
| lead_id | No | Link thread to this lead ID | |
| read_flag | No | Mark as read (true) or unread (false) | |
| thread_id | Yes | The mail thread ID to update | |
| shared_flag | No | Share thread with company (true) or keep private (false) | |
| archived_flag | No | Archive (true) or unarchive (false) the thread |