message_runMethod
Execute a method on a WhatsApp message and return the result. Provide session, chat, and message identifiers to run operations like getInfo.
Instructions
[Message] Execute a method on the message. Execute a method on the message 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": "message_runMethod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | The chat id which contains the message | |
| method | No | The name of the method to execute | |
| options | No | The options to pass to the method | |
| messageId | No | Unique WhatsApp identifier for the message | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |