MCPMCP Tools/Locations/assign_location_menu
assign_location_menu
Writelocations:write
Replace all assignments for a menu. Every location must be an active restaurant of the same client; invalid targets fail before changing assignments. An empty list removes all assignments. Requires Clients access.
Parameters
menuIdstringrequired
Menu ID.
locationIdsstring[]required
Full desired set of location IDs or public IDs, at most 1,000.
Example request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "assign_location_menu",
"arguments": {
"menuId": "string",
"locationIds": [
"string"
]
}
}
}Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Response shape shown for illustration — the actual content depends on the tool and your data.