get_media_path
Resolve a WhatsApp media attachment's absolute file path by media ID or message ID, and verify its existence, file size, and MIME type before access.
Instructions
Resolve the absolute filesystem path for a media attachment by media ID or message ID. Checks disk existence, file size, and MIME type.
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": "get_media_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | No | Internal CoreData media primary key (Z_PK from ZWAMEDIAITEM). | |
| message_id | No | Internal CoreData message primary key (Z_PK from ZWAMESSAGE). |