df_generate_sql
Generate the SQL query for a data mart without executing or storing it. Receive validation errors on failure instead of error responses.
Instructions
Generate the SQL query of a data mart. Nothing is executed and nothing is stored. A generation failure comes back as succeeded=false with validation_errors, not as an error.
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": {
"project_id": "<project_id>",
"version_id": "<version_id>",
"data_mart_id": "<data_mart_id>"
},
"name": "df_generate_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | Ignored unless limit is also given | |
| language | No | ru | |
| project_id | Yes | DataForge project id | |
| version_id | Yes | Project version id | |
| data_mart_id | Yes |