getRoutineDefinition
getRoutineDefinitionRetrieve the complete definition and body of any function, procedure, or package to inspect its logic and understand database behavior.
Instructions
Return the source code of one known function, procedure or package, including its body where available. Use listRoutines to discover routine names.
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": {
"connection": "<connection>",
"name": "<name>"
},
"name": "getRoutineDefinition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| schema | No | ||
| connection | Yes | Database to run against. Call listConnections for valid names; do not guess. |