infer_schema
Samples a MongoDB collection to map every field path, its BSON types, and presence percentage, including nested objects and array elements, so you can understand document structure before querying or modeling.
Instructions
Infer the document structure from a random sample: every field path with its BSON types and how often it appears (present_pct). Nested objects use dots, array elements use "[]".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| collection | Yes | ||
| connection | No | ||
| sample_size | No |