process_set_priority
Set the CPU priority of a process by PID, using a nice value from -20 (highest) to 19 (lowest) to control resource allocation.
Instructions
Set nice priority level (-20 to 19) of a process by PID.
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": "process_set_priority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Target Process ID (PID). | |
| priority | No | Nice priority level (-20 highest priority to 19 lowest priority). |