client_getNumberId
Retrieve the registered WhatsApp ID for a phone number, returning null if the number is not on WhatsApp.
Instructions
[Client] Get the registered WhatsApp ID for a number. Return null if the number is not registered on WhatsApp
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": {
"sessionId": "<sessionId>"
},
"name": "client_getNumberId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | The number or ID ('@c.us' will be automatically appended if not specified) | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |