client_getCountryCode
Retrieve the country code for a specified phone number or session, providing regional identification for the contact.
Instructions
[Client] Get the country code
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_getCountryCode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | Number or ID | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |