mat_oql_query
Execute OQL queries on Java heap dumps to retrieve analysis artifacts. Return results in text, HTML, or CSV format.
Instructions
Execute a single MAT OQL query and return result artifacts.
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": {
"heap_path": "<heap_path>",
"oql": "<oql>"
},
"name": "mat_oql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oql | Yes | ||
| limit | No | ||
| unzip | No | ||
| format | No | ||
| xmx_mb | No | ||
| heap_path | Yes | ||
| timeout_sec | No |