constraint_list
Return a list of all registered LMQL constraints with metadata. Use constraint_validate to check a value against any constraint.
Instructions
Return a list of all registered LMQL constraints with their metadata.
Returns:
ConstraintListResponse with keys:
- "constraints": a list of constraint objects; each object includes a "name" key and the constraint's definition fields (e.g., "description", any other metadata).
- "usage": a string describing how to validate a value against a constraint (e.g., call constraint_validate(constraint_name, value)).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | ||
| constraints | No |