get_jvm_info
Retrieve JVM basic information by providing a process ID to monitor Java application performance and diagnostics.
Instructions
获取JVM基础信息
Args:
pid (str): 进程ID,使用字符串形式(如:"12345")。
支持十进制和十六进制格式。
空字符串将返回错误信息。
Returns:
Dict: 包含JVM信息的字典,包含以下字段:
- raw_output (str): 原始输出
- timestamp (float): 时间戳
- success (bool): 是否成功
- error (Optional[str]): 错误信息
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": "get_jvm_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No |