Skip to Content

set_client_field

Set one custom field on a client ("" or null clears it).

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

What it does

Set one custom field on a client ("" or null clears it). The value must fit the field's type: text for short_text/paragraph/phone/email/website, a number, a date as YYYY-MM-DD, one of the options for dropdown, an array of options for multi_dropdown, true/false for yes_no, and { amount, currency } for currency (422 otherwise). Returns the value as saved (a government ID number masked to its last 3 characters, masked: true; it is saved in full). Field ids come from list_client_fields. Masked values (•••123) can't be sent back: ask the person for the full number.

Inputs

NameTypeDescription
client_idrequiredstringThe client's id (from search_clients).Up to 64 characters
field_idrequiredstringUp to 64 characters
valuerequiredanyThe new value; null or "" clears it.

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": "set_client_field",
    "arguments": {
      "client_id": "<client_id>",
      "field_id": "<field_id>",
      "value": {}
    }
  }
}

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)."
    },
    "field_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "value": {
      "description": "The new value; null or \"\" clears it."
    }
  },
  "required": [
    "client_id",
    "field_id",
    "value"
  ]
}

On this page