medias_update_media_object
Rename a file or folder in GoHighLevel by providing its ID and new name. Update media object ownership details using altId and altType for location-specific changes.
Instructions
Update File/ Folder
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": {
"id": "<id>",
"name": "<name>"
},
"name": "medias_update_media_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier of the file or folder to update | |
| name | Yes | New name for the file or folder | |
| altId | No | Location identifier that owns the file or folder Defaults to GHL_LOCATION_ID when omitted. | |
| altType | No | Type of entity that owns the file or folder Defaults to GHL_LOCATION_ID when omitted. |