HappierleadsDocs
MCP server

remove_tags_from_lead

Remove one tag from a lead.

Remove a tag from a lead · Changes data

Remove one tag from a lead. The tag itself stays available for other leads. leadId comes from get_leads; tagId comes from list_tags (or the lead's tags in get_lead). Add a tag with tag_lead. Returns status 'Successful', or 'Failed' (404) when nothing was removed.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
leadIdstringYesLead id (the _id of a row returned by get_leads).
tagIdstringYesId of the tag to remove (from list_tags).

Tool definition

What your assistant receives from tools/list:

{
  "name": "remove_tags_from_lead",
  "title": "Remove a tag from a lead",
  "annotations": {
    "title": "Remove a tag from a lead",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "leadId": {
        "type": "string",
        "description": "Lead id (the _id of a row returned by get_leads)."
      },
      "tagId": {
        "type": "string",
        "description": "Id of the tag to remove (from list_tags)."
      }
    },
    "required": [
      "leadId",
      "tagId"
    ]
  }
}

On this page