List User-Defined Functions
list_functionsList all user-defined functions in a SQL Server database, filtered by type and schema, to inventory or analyze database logic.
Instructions
List all user-defined functions (scalar, table-valued, etc.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: dbo) | |
| functionType | No | Filter by function type (default: ALL) | |
| connectionName | No | Named connection to use (e.g., 'production', 'staging') |