Read column metadata
get_column_metadataGet current ontology metadata for one field of an entity — a column of an entity that answers in rows, or a path inside one that answers with a document. Returns classification, synonyms, feature details, deprecation guidance, provenance, and the field's own type information (data_type, is_nullable, is_primary_key). Use this before update_column to see what's already documented. Example: get_column_metadata(entity='users', path='status'), or get_column_metadata(entity='google_ads.campaign_status', path='campaign.status') for a field inside a document.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity": "<entity>",
"path": "<path>"
},
"name": "get_column_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to one field of that entity. For an entity that answers in rows this is a column's name ('status'); for one that answers with a document it is the projection path ('campaign.status', 'result.homes[].price'), and a path ending in '*' is an open region, classified as a unit. | |
| entity | Yes | Entity to address: a table of rows or a document, named `schema.entity` (for example 'google_ads.campaign_status') or by its bare name when that is unambiguous in the datasource. | |
| datasource | No | Optional datasource ID to target. Omit to use the project's configured default; required when the project has multiple datasources and no default is configured. Each datasource has its own SQL dialect: get_schema lists every datasource with its type, dialect and identifier quote, and every result carries datasource_type and dialect. A datasource that has not finished setup is refused with datasource_not_ready. |