get_file
Retrieves file metadata (url, name, mimetype, size, metadata) by file ID and workspace name.
Instructions
Get metadata for a single file by id. Returns the File object including url, name, mimetype, size, metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File id (as returned by upload_file or list_files). | |
| environment | No | Optional environment name (from PRISME_ENVIRONMENTS) to use specific API URL and workspace | |
| workspaceId | No | Alternative: direct workspace ID (use workspaceName instead when possible) | |
| workspaceName | Yes | Workspace name that resolves to ID via PRISME_WORKSPACES or PRISME_ENVIRONMENTS mapping |