get_model_schema
Retrieve a semantic model's complete schema, including tables, columns, measures, and relationships. Use it to inspect model structure before making changes.
Instructions
Get the complete schema of a semantic model including tables, columns, measures, and relationships.
This retrieves the model definition in TMSL format and parses the structure.
Args:
workspace: Name or ID of the workspace (optional)
model: Name or ID of the semantic model (optional)
ctx: Context object containing client information
Returns:
A dictionary containing the model schema with tables, columns, measures, and relationships.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_model_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| workspace | No |