clients.records.archive
Archive inactive clients to hide them from active lists while preserving complete project history, invoices, and follow-up records.
Instructions
Soft-delete a client by setting their archived_at timestamp, hiding them from all active client lists while preserving their full history. Use this tool when a freelancer is done working with a client and wants to retire the record — the client and all linked projects, invoices, and follow-ups remain in the database and can be audited, but will no longer appear in normal queries.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"client_id": "<client_id>"
},
"name": "clients.records.archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | The unique identifier (UUID) of the client to archive |