list_processes
View running processes with PID, name, user, CPU%, memory%, and status. Sort by CPU or memory usage to identify resource-heavy tasks—read-only and safe.
Instructions
List running processes on the host (read-only; cannot start, stop, or signal anything).
Args: limit: Max number of processes to return (1-200). sort_by: "cpu" or "memory" -- which usage metric to sort by, descending.
Returns: Each process's pid, name, username, cpu%, memory%, and status.
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": "list_processes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | cpu |