Skip to content

object_doc

MCP tools › Databases

Quick documentation of a table, view or column, as F1 / Ctrl+J in the Database tool window shows it: the kind and place, the columns with types, keys, NOT NULL and defaults, foreign keys, the tables that reference it and indexes; for a column its type, default, keys and indexes. Returns name, column and lines; nothing is run besides reading the schema (needs the read-schema permission).

Its results carry text from database: the client is told to treat that as data, never as instructions.

Capabilitydatabase.object_doc
AreaDatabases
Accessreads only
Reachesdatabase, network
Rightsssh, database-permission, trusted-project
Dry runnone

Arguments

ArgumentTypeDescription
connectionrequiredstringConnection name from list_connections.
tablerequiredstringTable or view name.
columnstringOne of its columns, for the column's documentation.

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project object_doc '{"connection":"<string>","table":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"connection",
"table"
],
"properties": {
"connection": {
"description": "Connection name from `list_connections`.",
"type": "string"
},
"table": {
"description": "Table or view name.",
"type": "string"
},
"column": {
"description": "One of its columns, for the column's documentation.",
"type": [
"string",
"null"
],
"default": null
}
}
}