Add contact tags

Adds tags to one or more contacts.

MCP tool agile_crm_write → add_contact_tags

write

Adds the tags to every contact in the list and returns each contact's tags afterwards. Tags reach nobody and a wrong tag is removed from Agile CRM by hand, so the call does not wait for your OK. A tag name Agile CRM rejects fails before any contact changes.

Parameters

Parameters: add_contact_tags
NameTypeDescription
contact_ids array required array Contact ids from list_contacts
tags array required array Tag names to add; a tag starts with a letter and holds letters, numbers, underscores and spaces

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agile_crm_write",
    "arguments": {
      "operation": "add_contact_tags",
      "arguments": {
        "contact_ids": "contact ids",
        "tags": "tags"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "updated": [
      {
        "contact_id": "5698320417841152",
        "tags": [
          "webinar_oct",
          "lead",
          "nurture"
        ]
      },
      {
        "contact_id": "5701182246576128",
        "tags": [
          "webinar_oct",
          "nurture"
        ]
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.