execute_sql
Executes read-only SQL queries to retrieve data from MariaDB databases. Supports database exploration and schema inspection with secure connection pooling and logging.
Instructions
Execute a read-only SQL query and return results.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | ||
query | Yes |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Database"
},
"query": {
"title": "Query",
"type": "string"
}
},
"required": [
"query"
],
"title": "execute_sqlArguments",
"type": "object"
}