ghl_location_upload_file_custom_fields
Uploads a file to a location's custom field using multipart/form-data, associating it with the specified custom field ID.
Instructions
File upload — body is multipart/form-data (the file plus its associated customField id/name), not JSON. The spec has no application/json alternative for this op. Uploads File to customFields Endpoint: POST /locations/{locationId}/customFields/upload (Version header: v3; source: v3/locations-v3.json) OAuth scopes: locations/customFields.write
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": {
"locationId": "<locationId>",
"body": "<body>"
},
"name": "ghl_location_upload_file_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| locationId | Yes |