whatsapp_send_file
WhatsApp · macOS · Windows
Effect: verzenden. Status: voorwaardelijk beschikbaar.
‘Voorwaardelijke beschikbaarheid’ betekent dat het hulpmiddel kan afhangen van versie, platform, machtigingen, account of configuratie. Het is niet in elke installatie actief.
macOS
Doel
Verstuurt een bestandsbijlage naar een WhatsApp-chat. De chat_id MOET uit een eerdere aanroep van whatsapp_list_chats komen — verzin nooit id's. file_path moet een absoluut pad naar een lokaal bestand zijn. Dit is een schrijfbewerking: de eerste aanroep (confirm=false) geeft een voorbeeld terug zonder te verzenden; stel confirm=true in om echt te verzenden.
Vereiste invoer
chat_idfile_path
De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.
Machtigingen en bevestiging
Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.
- Gebruik uitsluitend de apps, accounts en bronnen waarvoor de gebruiker op dit platform toestemming heeft gegeven. Raadpleeg de platformspecifieke beschrijving van deze tool voor de verbindings- en toestemmingsvereisten; deze catalogus veronderstelt geen aanvullende OAuth-bereiken of OS-rechten.
Canoniek technisch schema in het Engels — macOS
{
"properties": {
"account": {
"description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
"type": "string"
},
"caption": {
"description": "Optional caption text to accompany the file",
"type": "string"
},
"chat_id": {
"description": "Chat ID from whatsapp_list_chats",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"file_path": {
"description": "Absolute path to the local file to send",
"type": "string"
}
},
"required": [
"chat_id",
"file_path"
],
"type": "object"
}Documentatievoorbeeld
Documentatievoorbeeld voor whatsapp_send_file. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.
{
"chat_id": "12025550123@s.whatsapp.net",
"confirm": false,
"file_path": "/Users/demo/Documents/launch-checklist.pdf"
}Windows
Doel
Verstuurt een bestandsbijlage naar een WhatsApp-chat. De chat_id MOET uit een eerdere aanroep van whatsapp_list_chats komen — verzin nooit id's. file_path moet een absoluut pad naar een lokaal bestand zijn. Dit is een schrijfbewerking: de eerste aanroep (confirm=false) geeft een voorbeeld terug zonder te verzenden; stel confirm=true in om echt te verzenden.
Vereiste invoer
chat_idfile_path
De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.
Machtigingen en bevestiging
Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.
- Gebruik uitsluitend de apps, accounts en bronnen waarvoor de gebruiker op dit platform toestemming heeft gegeven. Raadpleeg de platformspecifieke beschrijving van deze tool voor de verbindings- en toestemmingsvereisten; deze catalogus veronderstelt geen aanvullende OAuth-bereiken of OS-rechten.
Canoniek technisch schema in het Engels — Windows
{
"properties": {
"account": {
"description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
"type": "string"
},
"caption": {
"description": "Optional caption text to accompany the file",
"type": "string"
},
"chat_id": {
"description": "Chat ID from whatsapp_list_chats",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"file_path": {
"description": "Absolute path to the local file to send",
"type": "string"
}
},
"required": [
"chat_id",
"file_path"
],
"type": "object"
}Documentatievoorbeeld
Documentatievoorbeeld voor whatsapp_send_file. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.
{
"chat_id": "12025550123@s.whatsapp.net",
"confirm": false,
"file_path": "/Users/demo/Documents/launch-checklist.pdf"
}