Create label
facebook_create_labelCreate a custom Messenger label on a Facebook Page and return its ID for assigning to people; check existing labels first because each call creates a new one.
Instructions
Create a custom Messenger label on the Page (for example "vip" or "refund-pending") and return its id, to put on people with facebook_assign_label. Each call creates a NEW label, so check facebook_list_labels first. Nobody is notified. Dry run by default; apply:true creates it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The label name, 1–64 characters. | |
| apply | No | Set true to actually perform the write. Omitted or false ⇒ the server decides from its configured write mode: usually a dry run that returns a plan preview and changes nothing, but a server (or package) configured apply-first performs the write. To be certain nothing happens, read the result: a dry run always reports the plan and says the write was NOT performed. | |
| plan_id | No | The `planId` returned by a preceding dry-run preview of this same tool. Required for irreversible and spend-tier writes; plans expire a few minutes after they are created. | |
| profile | No | Page profile key (e.g. "brand-a") or a raw Page ID. Omitted ⇒ the default Page (FB_PAGE_ID). |