MCPHerramientas MCP/Ubicaciones/duplicate_location

duplicate_location

Writelocations:write

Create a draft copy of a physical location's identity for the same client. Active identity duplicates are refused; archived sources without an active replacement can be copied. Does not submit listings. Respects location capacity and source identity checks. A standalone source creates a new standalone client and requires agency-wide credentials. 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": "duplicate_location",
    "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.