dba_userSqlList
Retrieve SQL queries executed by a specific user within a defined time period, or list all recent SQL if no user is specified.
Instructions
Get a list of SQL run by a user in the last number of days if a user name is provided, otherwise get list of all SQL in the last number of days.
Arguments: user_name - user name no_days - number of days
Returns: ResponseType: formatted response with query results + metadata
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_name": "<user_name>"
},
"name": "dba_userSqlList"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_name | Yes | ||
| no_days | No |