whodb_platform_file_inspect
Inspect one hosted tabular file to infer column mappings for dataset promotion, previewing columns and mapping flags before using the promote_to_dataset action.
Instructions
Inspect one hosted tabular file and infer promote-to-dataset column mappings.
Use this before whodb_platform_action with resource "file" and action "promote_to_dataset". Prefer fields such as ["columns", "columnMapExample", "columnMapFlags"] first. Set include_rows only when sample row values are needed. The suggested mappings are convenience output; the hosted platform still validates promotion writes. 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 columns and columnMapExample before requesting rows. | |
| 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 | |
| include_rows | No | Include preview rows. Defaults to false to keep context compact. |