get_query_history
Retrieves the history of SQL queries executed in the current session, including status, execution time, and results, with configurable limits and success filters.
Instructions
Get the history of executed queries in this session.
This tool returns a list of previously executed queries with their
status, execution time, and results.
Parameters:
- limit: Maximum number of queries to return (default: 10)
- only_successful: Only show successful queries (default: true)
Examples:
- get_query_history() - Get last 10 successful queries
- get_query_history(limit=50, only_successful=false) - Get last 50 queries including errorsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| only_successful | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||