query_database
Execute SQL queries to retrieve data from specified database sources, enabling AI agents to access and analyze structured information through the Model Context Protocol.
Instructions
Executes a SQL query on a specified database source. Use this to retrieve data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to execute (e.g., 'SELECT * FROM users') | |
| source_name | Yes | The name of the database source defined in config (e.g., 'mydb') |