call_function
Execute stored functions in MySQL or MariaDB by providing the function name and positional parameters.
Instructions
Call a stored function with positional params.
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": "call_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| database | No | Database/schema name; defaults to connection default_database | |
| function | Yes | ||
| connection | No | Named connection from config; defaults to default_connection |