get_object_details
Inspect database object details: type, estimated count, indexes, and sampled field types for MongoDB collections; schema/object metadata for PostgreSQL without returning values.
Instructions
Show detailed information about a database object. MongoDB: collection type, estimated count, indexes and the fields/types inferred from a sample of documents (values are never returned).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | Nome ou alias da conexão (veja list_connections). Se omitido, usa a conexão ativa ou a padrão. | |
| object_name | Yes | Object name (MongoDB: collection or view) | |
| object_type | No | Object type: 'table', 'view', 'sequence', or 'extension' (ignored for MongoDB) | table |
| schema_name | Yes | Schema name (MongoDB: database name) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |