show_create_procedure
Retrieves the CREATE statement for a MySQL stored procedure, optionally scoped to a specific database, so you can inspect its definition.
Instructions
Shows the CREATE statement for a stored procedure.
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": {
"procedure_name": "<procedure_name>"
},
"name": "show_create_procedure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: specific database name | |
| procedure_name | Yes | Name of the stored procedure to show CREATE statement for |