process_tree
Visualize process hierarchies by returning a process tree. Specify a PID to include its ancestors and descendants, or omit it to view the full system tree at a chosen depth.
Instructions
Returns a process tree. With a pid, includes ancestors + descendants. Without a pid, returns the system tree at the requested depth.
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": "process_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Root PID. Omit for system tree. | |
| depth | No |