add_schema
Define validation rules for data in a collection by adding a JSON schema to ensure structured and consistent data storage.
Instructions
Add a JSON schema to a collection. Provide the schema content as a JSON string.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name | |
| schema | Yes | JSON schema content as a string (will be written to temporary file for CLI) |