MCPHerramientas MCP/Ubicaciones/start_location_client_migration

start_location_client_migration

Writelocations:write

Start the exact client migration from a reviewed preview, passing its signed token and identical target/locations. A stale or changed plan is refused; preview again rather than bypassing the refusal. Returns a jobId, not completion. Requires the same owner/admin and agency-wide credentials.

Parámetros
locationIdsstring[]obligatorio
toClientIdstringobligatorio
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
tokenstringobligatorio
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "start_location_client_migration",
    "arguments": {
      "locationIds": [
        "string"
      ],
      "toClientId": "string",
      "token": "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.