conversations_initiate_file_upload
Start a file upload to Google Cloud Storage for a GoHighLevel conversation. Provide conversation ID, filename, MIME type, and channel to apply size limits before upload.
Instructions
Initiate file upload to GCS
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": {
"conversationId": "<conversationId>",
"filename": "<filename>",
"contentType": "<contentType>",
"channel": "<channel>"
},
"name": "conversations_initiate_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Channel type for size limits (WHATSAPP for 100MB limit, others for 5MB) | |
| fileSize | No | File size in bytes (optional, for pre-validation) | |
| filename | Yes | Original filename with extension | |
| locationId | No | Location ID Defaults to GHL_LOCATION_ID when omitted. | |
| contentType | Yes | MIME type of the file | |
| conversationId | Yes | Conversation ID |