to_citable_mql
Converts Text-Fabric search templates into MQL for SHEBANQ, enabling notebook queries to become citable saved queries.
Instructions
Convert a Text-Fabric search template to equivalent MQL for SHEBANQ.
Deterministic, no model involved: indentation becomes brackets, spaces become AND, string features get quoted from the catalogue. Use this to turn a notebook query into a citable SHEBANQ saved query. Templates using TF constructs beyond '<object_type> feature=value ...' lines are refused with an explanation. The mirror of to_tf_template.
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": {
"template": "<template>"
},
"name": "to_citable_mql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes |