warden_db_query
Execute SQL queries directly in the Warden database for Magento 2 projects. Specify the project path and query to manage or retrieve database data efficiently.
Instructions
Run a SQL query in the Warden database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | Database name (optional, defaults to magento) | magento |
project_path | Yes | Path to the project directory | |
query | Yes | SQL query to execute |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"default": "magento",
"description": "Database name (optional, defaults to magento)",
"type": "string"
},
"project_path": {
"description": "Path to the project directory",
"type": "string"
},
"query": {
"description": "SQL query to execute",
"type": "string"
}
},
"required": [
"project_path",
"query"
],
"type": "object"
}