List labels
List member labels, with how many members carry each.
MCP tool ghost_read → list_labels
read
Returns the name and slug of each label and the member count. Use it before label_members so the agent reuses an existing label name and does not create a near-duplicate.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ghost_read",
"arguments": {
"operation": "list_labels",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"labels": [
{
"id": "6958473e4c66da000199e33e",
"name": "VIP",
"slug": "vip",
"members": 12
}
]
},
"isError": false
}