MCPOutils MCP/Emplacements/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.
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": "duplicate_location",
"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.