Save business Terms for a table
save_table_termsSaves business terms and column mappings for one scanned database table, replacing prior terms and validating atomically so invalid columns, duplicates, or name clashes save nothing.
Instructions
Save business Terms and column mappings for one scanned database table. Use for tables returned by get_modeling_worklist; use update_term to tweak a single existing Term, define_entity for knowledge store tables, and save_concept for prose definitions. Replaces the table's previous Terms (same-named Terms update; unreferenced Terms without SQL attributes are removed; unassigned candidate columns attach to the first Term). Validates atomically so unknown columns, duplicates, or cross-table name clashes save nothing and return every error. New Terms start as draft.
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": {
"table": "<table>",
"terms": "<terms>"
},
"name": "save_table_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Physical table name, schema-qualified if needed (e.g. 'sales.orders'). | |
| terms | Yes | Proposed business Terms for this table (usually exactly one Term per table). | |
| datasource | No | Datasource name. Optional when only one datasource is registered. | |
| is_junction | No | Set true only when each row solely associates two or more entities (bridge table). | |
| column_descriptions | No | Optional {column: one-sentence description} map for non-obvious columns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||