arthas_read_log
Retrieve the output log from an async job to view results of diagnostic commands like watch, trace, stack, or monitor. Returns the last lines for quick response.
Instructions
Read the output log of an async job. Use this to check results from watch/trace/stack/monitor commands. Returns the tail by default to keep responses small.
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": {
"jobId": "<jobId>"
},
"name": "arthas_read_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Return only the last N lines (default: 200). Pass a large number to get more. | |
| jobId | Yes | Job ID returned by the async command |