arthas_getstatic
Retrieve static field values from Java classes at runtime to inspect application state without modifying code.
Instructions
Get static field values.
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": {
"className": "<className>",
"fieldName": "<fieldName>"
},
"name": "arthas_getstatic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout in ms | |
| className | Yes | Fully qualified class name | |
| fieldName | Yes | Static field name |