buildQuerySchema
buildQuerySchema(
operators,limits?):JsonObject
Defined in: query-schema.ts:15
JSON Schema for the query argument of generated find/get/remove tools.
The shape is the structured QueryParams form (where/limit/skip/sort/select) —
friendlier to schema-driven callers than the REST $-prefixed convention; the dispatch
layer translates. When the service’s repository reports its supported operators via
describe().capabilities.operators, the per-field operator object is closed over exactly
that set, so a caller is never offered an operator the adapter would reject.
Parameters
Section titled “Parameters”operators
Section titled “operators”string[] | undefined
limits?
Section titled “limits?”defaultLimit
Section titled “defaultLimit”number
maxLimit
Section titled “maxLimit”number
Returns
Section titled “Returns”JsonObject