MCPHerramientas MCP/Ubicaciones/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.
Parámetros
locationIdstringobligatorio
Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "publish_location_now",
"arguments": {
"locationId": "string"
}
}
}Respuesta de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.