COA List Warehouse Sources
coa_list_warehouse_sourcesList warehouse tables per storage location in a COA project. Shows summary counts or detailed table info with import status to identify un-imported tables or audit scaffolded sources.
Instructions
List warehouse tables visible to each storage location in a COA project. Wraps coa sources list --json.
Three modes via flags:
Neither
locationnorall: returns per-location SUMMARY counts (totalTables,importedTables,newTables). Cheap; use this first on unfamiliar projects.location: <name>: returns per-table detail for that one location, each row markedalreadyExists: trueif a source node has already been scaffolded for it.all: true: per-table detail for every location. Potentially large — prefer scoping when you can.
Use this to (a) figure out which locations have un-imported tables before calling coa_add_warehouse_sources, or (b) audit which scaffolded source nodes still match the warehouse.
Read-only: queries the warehouse via the COA cloud profile, writes nothing. Profile resolution: input profile > COALESCE_PROFILE env > [default].
Args:
projectPath (string, required)
location (string, optional)
all (boolean, optional): mutually exclusive with
locationinclude (string, optional): glob filter on table names
profile (string, optional)
Returns: { command, exitCode, stdout, stderr, json?, coaVersion }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||