show_create_function
Obtain the CREATE FUNCTION DDL for a database function to review or recreate its definition.
Instructions
Return CREATE FUNCTION DDL.
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": {
"function": "<function>"
},
"name": "show_create_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database/schema name; defaults to connection default_database | |
| function | Yes | ||
| connection | No | Named connection from config; defaults to default_connection |