ghl_file_get_by_slug
Resolve a share-link slug to its file record so you can retrieve file details or download the referenced file using a sub-account token with files.readonly scope.
Instructions
FILES API — resolves a share-link slug to the file (sub-account token, files.readonly). Get File Get the file by slug. Endpoint: GET /files/d/{slug} (Version header: v3; source: v3/files-v3.json) OAuth scopes: files.readonly
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": {
"slug": "<slug>"
},
"name": "ghl_file_get_by_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Share-link slug identifying the file. |