MCP server
update_lead_comment
Replace the text of an existing lead comment.
Edit a lead comment · Deletes or overwrites data
Replace the text of an existing lead comment. Only the user who wrote the comment can edit it; others get 'You do not have permission'. The previous text is not kept. commentId is the _id from get_lead_comments. Returns status 'Successful'.
| Connection | Account URL, team member URL or OAuth |
|---|
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
commentId | string | Yes | Comment id (the _id from get_lead_comments). |
content | string | Yes | The new comment text; replaces the old text entirely. |
Tool definition
What your assistant receives from tools/list:
{
"name": "update_lead_comment",
"title": "Edit a lead comment",
"annotations": {
"title": "Edit a lead comment",
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": true,
"openWorldHint": false
},
"inputSchema": {
"type": "object",
"properties": {
"commentId": {
"type": "string",
"description": "Comment id (the _id from get_lead_comments)."
},
"content": {
"type": "string",
"description": "The new comment text; replaces the old text entirely."
}
},
"required": [
"commentId",
"content"
]
}
}