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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schema_name": "<schema_name>",
"object_name": "<object_name>"
},
"name": "get_object_details"
}
}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 |