add_data_column
Adds column metadata to an M import table so relationships and bindings resolve, required after adding a table from M because TOM doesn't auto-infer columns. Refresh to populate values.
Instructions
Add a data column's metadata to an import (M) table so relationships and bindings resolve. Needed after add_table_from_m because TOM does not auto-infer columns. Refresh afterwards to populate values.
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": {
"sessionId": "<sessionId>",
"table": "<table>",
"name": "<name>",
"dataType": "<dataType>"
},
"name": "add_data_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| table | Yes | ||
| dataType | Yes | String|Int64|Double|DateTime|Boolean|Decimal | |
| sessionId | Yes | ||
| sourceColumn | No | source column name in the M output (defaults to name) |