MCPHerramientas MCP/Ubicaciones/archive_location
archive_location
Writelocations:write
SCHEDULE a location to be archived at the end of the current billing period, or restore an archived one. Archiving is deferred, not immediate: the location stays fully active — and still counts against the plan's location limit — until the period the customer has already paid for ends, then it is archived automatically and stops being billed. Because the slot is still occupied, scheduling does NOT free room to add another location until after it archives. Pass archived: false to restore an already-archived location. Use cancel_scheduled_archive to call off a pending archival.
Parámetros
locationIdstringobligatorio
The id of the location to schedule/restore (required).
archivedbooleanobligatorio
true to schedule archival at period end, false to restore (required).
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "archive_location",
"arguments": {
"locationId": "string",
"archived": true
}
}
}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.