findClientByIdentifier
findClientByIdentifierLook up a client ID by a single identifier (phone or email). Returns the client ID or null. Simpler than resolveClient. No creation, no merge. Use for a quick check: "is this phone number already a client?".
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": {
"type": "<type>",
"value": "<value>"
},
"name": "findClientByIdentifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Identifier type: "phone" or "email". | |
| value | Yes | The identifier value (phone number or email address). |