client_runMethod
Execute a method on an active WhatsApp client session and retrieve the result.
Instructions
[Client] Execute a method on the client. Execute a method on the client and return the result
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_runMethod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | The name of the method to execute | |
| options | No | The options to pass to the method | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |