MCPOutils MCP/Boîte de réception sociale/tag_inbox_item

tag_inbox_item

Writeinbox:write

Add and/or remove tags on one Social Inbox item. Name tags by id or by name (from list_inbox_tags); a tag that doesn't exist is refused by name (new tags are created in the app), and an archived tag can't be added.

Paramètres
kind"comment" | "message" | "mention"obligatoire
comment | message (DM) | mention
idstringobligatoire
Item id (from list_inbox_items)
addstring[]facultatif
Tags to add (ids or names)
removestring[]facultatif
Tags to remove (ids or names)
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tag_inbox_item",
    "arguments": {
      "kind": "comment",
      "id": "string"
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.