List WhatsApp numbers
list_instancesUse this when someone asks which WhatsApp numbers they have connected to Wapiworld, or which ones are offline. Returns each instance's id, name, WhatsApp account name, phone number, connection status and health, 25 per page by default, optionally for one project (no QR codes, secrets or API keys). Not for sending a message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Instances per page, from 1 to 100; defaults to 25 | |
| cursor | No | The page.nextCursor of the previous page with the same projectId; absent for the first page | |
| projectId | No | Only this project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Pass nextCursor as cursor, with the same filters, for the next page; null on the last page | |
| instances | Yes | Connected WhatsApp instances. health is ready, pairing, starting, offline or unknown. QR pairing codes, instance secrets, API keys, proxy data and arbitrary stored fields are never returned. |