MCPOutils MCP/Emplacements/publish_location_now
publish_location_now
Writelocations:write
Queue the stored location profile through the full listing publishing pipeline immediately. Uses the same publisher selection, restrictions and content checks as the app. Returns queued:true when accepted; queued:false with skipped:no_changes when no version changed since publishing. Queue acceptance is not confirmation of publisher completion. Requires Clients access.
Paramètres
locationIdstringobligatoire
Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "publish_location_now",
"arguments": {
"locationId": "string"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.