search_stored_procedure_text
Search stored procedure bodies for a keyword and return each matching procedure with a short excerpt of the first line containing the keyword. Optionally restrict search to a single schema.
Instructions
Search the body (definition) of stored procedures for keyword (case-insensitive). Returns each matching procedure with a short excerpt showing the first line that contains the keyword. Optionally restrict to a single schema.
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": {
"source": "<source>",
"keyword": "<keyword>"
},
"name": "search_stored_procedure_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| source | Yes | ||
| keyword | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |