PlatformDocs
MCP server

delete_filter

Delete a saved lead filter.

View as Markdown

Delete a saved filter · Deletes or overwrites data

Delete a saved lead filter. Any automation that used it as its segment is switched to 'All leads', so it will then run for every new lead; check list_automations before deleting a filter an automation depends on. filterId is the _id from list_filters. Confirm with the user before calling. Returns status 'successful', or an error when the filter does not exist.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredAcceptsDescription
filterIdstringYesanySaved filter id (the _id from list_filters).

Tool definition

What your assistant receives from tools/list:

{
  "name": "delete_filter",
  "title": "Delete a saved filter",
  "annotations": {
    "title": "Delete a saved filter",
    "readOnlyHint": false,
    "destructiveHint": true,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "filterId": {
        "type": "string",
        "description": "Saved filter id (the _id from list_filters)."
      }
    },
    "required": [
      "filterId"
    ]
  }
}

On this page