top_sql
Identify top SQL statements by elapsed time in the last N minutes to diagnose recent performance issues from Oracle database.
Instructions
Top SQL by elapsed time from v$sql within the last N minutes.
Useful for "what's been slow recently?" investigations from Claude Desktop.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "top_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_minutes | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |