whodb_platform_file_preview
Preview a hosted project file by fetching metadata, text content, or tabular rows. Inspect file details first, then request body fields only when needed.
Instructions
Preview one hosted project file.
Prefer fields such as ["mimeType", "sizeBytes", "isTabular"] before requesting body fields. Request "textContent" or "tabular" only when the file body or rows are needed. Text content is capped in MCP output. Tabular previews are returned as provided by the hosted platform. Accepts workspace {host, org, project} for per-call targeting without changing defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Top-level output fields to include. Prefer metadata first; call again with body fields only if needed. | |
| file_id | Yes | Project file id | |
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| sheet_index | No | Optional spreadsheet sheet index |