List labels
facebook_list_labelsLists a Page's custom Messenger labels, or the labels on one person using their PSID, to identify and apply inbox thread tags.
Instructions
List the Page’s custom Messenger labels (id and name), or — with psid — the labels on one person. Labels tag a thread in the Page inbox label view. Needs a Page token with pages_manage_metadata and the MESSAGING task, and accepted Page Contact Terms.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "facebook_list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| psid | No | Only the labels on this person (their PSID, from a conversation). | |
| after | No | Opaque forward cursor from a previous call's `nextCursor`. Omitted ⇒ start from the first page. Cursors expire; on an expiry note, restart the listing without this argument. | |
| limit | No | Maximum items to return in this page (1–100). Defaults to 25. Large values risk truncation by the result budget. | |
| profile | No | Page profile key (e.g. "brand-a") or a raw Page ID. Omitted ⇒ the default Page (FB_PAGE_ID). |