HappierleadsDocs
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'.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
commentIdstringYesComment id (the _id from get_lead_comments).
contentstringYesThe 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"
    ]
  }
}

On this page