MCPMCP-Tools/Referenzdaten/list_categories
list_categories
Readreference:read
Search the general business category taxonomy (mirrors Google's, thousands of entries). Global reference data — no clientId. Pass a `search` query; returns id + name. The id is a Category id (cuid) to set as a location's general category. For a specific publisher's own catalog, use list_publisher_categories.
Parameter
searchstringoptional
Category name substring
limitnumberoptional
Max rows (1–100, default 25)
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_categories",
"arguments": {}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.