get_query_history
Retrieves recent query history for a database connection to help re-run or fix previously executed queries.
Instructions
Return recent query history for a connection.
Useful for the editor AI to understand what has been executed recently, especially when the user says "run that again" or "fix the last query."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | Number of recent queries to return (max 50, default 10). | |
| connection | Yes | Database alias. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |