Set lead status
Mark a lead won, lost or ignored, or open it again.
MCP tool mailshake_write → update_lead_status
write
Sets the status of one lead. Won and lost close a lead you handled; ignored marks a lead not worth pursuing; open puts it back in the queue. Mailshake syncs these status events to HubSpot, Pipedrive or Salesforce if your team connected one. It reaches no one and one more call reverses it, so it does not wait for your OK.
Parameters
| Name | Type | Description |
|---|---|---|
| lead_id integer required | integer | Lead ID from list_leads. |
| status enum required | enum | won, lost, ignored or open. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "mailshake_write",
"arguments": {
"operation": "update_lead_status",
"arguments": {
"lead_id": 1,
"status": "won"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"lead_id": 5531,
"status": "ignored"
},
"isError": false
}