Get Process Tree
get_process_treeRetrieve the full process tree for a given PID to trace parent-child relationships and diagnose how processes are spawned or nested.
Instructions
返回指定进程所处的完整进程树。
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": {
"pid": "<pid>"
},
"name": "get_process_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |