fetch_shared_docs
Download text from public Google Docs, Sheets, and Slides shared in a WhatsApp chat; private files fail with a clear message and saved text is available via get_media_text.
Instructions
Download the text of public Google Docs, Sheets and Slides linked in a chat (https://docs.google.com only).
Private documents fail with a clear message. Text is stored and shown by get_media_text. The download is made from the user's computer, so Google sees the user's IP address.
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": {
"chat": "<chat>"
},
"name": "fetch_shared_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| after | No | ||
| limit | No | ||
| before | No | ||
| account | No | Account from list_accounts when several WhatsApp numbers are set up; default: default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||