Return function and procedure list for a schema.
read-onlyany connectionsweeps instancesweeps group
listFunctions(schema)
Return function and procedure list for a schema.
Also accepts connection, instance, group, described once under arguments every tool takes.
Keyed by function signature; each value is that routine's signature and properties. An absent extension or a missing grant is reported as {error, hint} in place of the map.
A physical replica is byte-identical here, so asking each member of a replication group adds nothing.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "listFunctions",
"arguments": {
"schema": "shop"
}
}
}
{
"order_total(bigint)": {
"description": "Sum of the order's line items.",
"kind": "function",
"language": "sql",
"return_type": "numeric",
"arguments": "p_order_id bigint",
"volatility": "stable",
"security_definer": false,
"is_strict": true
}
}
Invented values on a fictional shop database, shaped by and checked against this tool's output schema. Real output is returned as structuredContent to clients that negotiate MCP 2025-06-18 or later.
listSchemas, listTables, tableDetails, tableStats, largeObjects, listPartitions, partitionDetails, listTableStats, tableSize, listTableSizes, functionDetails, listEnums, enumDetails, listTypes, typeDetails, columnHistogram, listExtendedStatistics, listSequences