Variable: ModelQuerySchema
constModelQuerySchema:ZodObject<{limit:ZodOptional<ZodNumber>;modelClass:ZodOptional<ZodEnum<typeofModelClass>>;requiresTools:ZodOptional<ZodBoolean>;search:ZodOptional<ZodString>;threshold:ZodOptional<ZodNumber>; },$strip>
A model-lookup request: search string, capability ceiling, both, or
nothing. This is the caller-facing query the @dbx-tools/model
ranker reads - shaped as a zod schema (with per-field descriptions)
so an agent tool can adopt it directly as its inputSchema and a
browser client can validate args before calling the model service.
Every field is optional: an empty query ranks the live catalogue by class alone. The “this class and below” ceiling semantics and the match-then-class ordering live in the service, not here - this surface is declarative.