Get a secure file's metadata + authed download URL (member)
ic_files_getResolve one file by id, authorize you against it, and return its metadata plus the authenticated download URL (GET it with your bearer token to fetch the bytes). Optionally inline small files (<=1MB) as base64. If you're not authorized (a private/grantees file you're not on) this returns forbidden. Args: { file_id, inline?: boolean (default false; only honored for files <=1MB) }. Returns: { ok, file, download_url, inline_base64? }. Required scope: files:read (ic-member+).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | If true and the file is <=1MB, also return the bytes base64-encoded. | |
| file_id | Yes | The file id (f_...), from ic_files_list. |