export_layer
Write a snapshot of the semantic layer in another tool's format, such as dbt, to a chosen path. The export is lossy and not kept in sync with the layer.
Instructions
Write a snapshot of the layer in another tool's format.
path: where the user wants it written.
target: `dbt` today. On request only, and lossy -- the result says
what the format could not carry. Nothing keeps it in step with the
layer afterwards and you must keep answering from the layer, never
from the export.
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": {
"target": "<target>",
"path": "<path>"
},
"name": "export_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Where to write the export, as the user chose it. | |
| target | Yes | The format to write. `dbt` is the only one today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |