constraint_list
Lists all registered LMQL constraints with their metadata to help validate values in JSON, YAML, and TOML files.
Instructions
Return a list of all registered LMQL constraints with their metadata.
Returns:
result (dict): A dictionary 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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||