read_file
Retrieve file contents from the hub using a numeric fileId. Text files up to 1 MB are returned inline; larger or binary files provide metadata for out-of-band sharing.
Instructions
Read the contents of a hub-stored file by fileId. Use this whenever a prompt mentions fileId=N and you need to see what the file contains (the operator uploaded it on their side; the bytes live on the hub, not your local FS). Text-mime content is returned inline up to 1 MB; binary or oversized files return an error with metadata — the operator can share those out-of-band. Access is gated by the channel-token owner's role on the file's session, so cross-tenant fileId guesses are denied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The numeric fileId from the prompt (e.g. 16 for `fileId=16`). |