Add or change one document the assistant can send
save_documentA file in Google Drive the assistant can send into a chat (a registration form, a brochure). Share it with shareEmail from get_overview (Viewer) first. Adds it, or changes the one with the same link; every other document stays. Up to 20; isSignupLink on the one form a new customer fills in to join.
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": {
"link": "<link>",
"name": "<name>",
"whenToSend": "<whenToSend>"
},
"name": "save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The file's Google Drive link. | |
| name | Yes | The file name the customer sees, up to 100 characters. | |
| brand | No | Which assistant (its slug from get_overview `brands[].slug`). Leave out when the business has one. | |
| whenToSend | Yes | One line on when to send it, up to 200 characters. | |
| isSignupLink | No | True on the one form a new customer fills in to join. |