Skip to Content

update_client

Change a client's own details: only the keys you pass change (null clears email, phone, company or owner).

destructiveSends, cancels or emails people. Clients ask you before running it.

What it does

Change a client's own details: only the keys you pass change (null clears email, phone, company or owner). Returns the client as get_client does. Custom fields change with set_client_field; a client in the Trash must be restored in the app first.

Inputs

NameTypeDescription
client_idrequiredstringThe client's id (from search_clients).Up to 64 characters
namestringUp to 200 characters
emailstring | nullUp to 254 characters
phonestring | nullUp to 40 characters
company_idstring | null
notesstringUp to 10000 characters
owner_user_idstring | nullA workspace member's user id.

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": "update_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)."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 254
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 40
    },
    "company_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "notes": {
      "type": "string",
      "maxLength": 10000
    },
    "owner_user_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "A workspace member's user id."
    }
  },
  "required": [
    "client_id"
  ]
}

On this page