List scheduled messages
list_scheduled_messagesList scheduled WhatsApp messages of both modes; each item says its mode: bot - sent from Kaption's WhatsApp number, stored in Kaption's cloud local - "From this computer": sent from the user's own WhatsApp number while this computer and WhatsApp are open
Examples: Waiting to be sent: {} Only local ones, any state: { mode: "local", filter: "all" }
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_scheduled_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Only this mode; omit to list both | |
| filter | No | Default: "pending" (not sent yet; in local mode also missed or failed ones waiting for the user) | |
| target_session | No | Session ID for multi-account routing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | The JSON-compatible result returned by the Kaption extension |