trash_client
Move a client to the Trash: hidden from lists and pickers, and its email is free for a new client.
destructivewaits for confirmSends, cancels or emails people. Clients ask you before running it.
What it does
Move a client to the Trash: hidden from lists and pickers, and its email is free for a new client. Its documents are kept. It can be restored from the Trash in the app. A client already in the Trash is returned as is, with no confirm step. Two steps: called WITHOUT confirm: true it does nothing and returns an error saying what it would do (the details are in structuredContent); show that to the user and, once they agree, call again with the same arguments and confirm: true.
Two calls
confirm: true, it does nothing and returns an error that says what would happen. Show that to the user, then call again with the same inputs and confirm: true.Inputs
| Name | Type | Description |
|---|---|---|
client_idrequired | string | The client's id (from search_clients).Up to 64 characters |
confirm | boolean | true to really do it. Without it nothing happens: you get an error describing what would happen, to show the user. |
Call it
Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trash_client",
"arguments": {
"client_id": "<client_id>"
}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"additionalProperties": false,
"properties": {
"client_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The client's id (from search_clients)."
},
"confirm": {
"type": "boolean",
"description": "true to really do it. Without it nothing happens: you get an error describing what would happen, to show the user."
}
},
"required": [
"client_id"
]
}update_client
Change a client's own details: only the keys you pass change (null clears email, phone, company or owner).
list_client_fields
The workspace's custom client fields, in order: id, label, type (short_text, paragraph, number, currency, phone, email, website, date, dropdown, multi_dropdown, yes_no), options (dropdowns) and currency.