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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Root PID. Omit for system tree. | |
| depth | No |