Inspect a database
inspect_databaseRead MMDB metadata and sample network records to identify field paths, types, and examples, so you can choose fields or filters for queries. Sampling only shows part of the schema.
Instructions
Read MMDB metadata and sample field paths, types, and examples. Use this to choose fields, filter paths, or a summarize_network group_by field. Sampling starts at the first network record, so observed fields are not a complete schema. Use verify_database to check file integrity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Exact filename of a loaded database from list_databases. | |
| sample_size | No | Maximum network records to sample. Larger samples may reveal more fields. Sampling can stop early at internal field limits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| database | Yes | ||
| metadata | Yes | ||
| sample_limit | Yes | ||
| sampled_records | Yes | ||
| schema_complete | Yes | ||
| fields_truncated | Yes |