to_tf_template
Converts an Emdros MQL query into a Text-Fabric search template, handling brackets and AND operators while rejecting OR, NOT, FOCUS, and sequence operators.
Instructions
Convert an Emdros MQL query to the equivalent Text-Fabric search template.
Deterministic, no model involved: brackets become indentation, AND becomes a space, quoted string values lose their quotes. GET clauses are dropped with a note (TF results expose all features). MQL using OR, NOT, FOCUS, or sequence operators is refused with an explanation. The mirror of to_citable_mql.
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": {
"mql": "<mql>"
},
"name": "to_tf_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mql | Yes |