set_priority
Adjust a process's priority by PID to limit background CPU use or boost responsiveness, from idle to realtime; realtime can starve other processes and requires consent.
Instructions
Sets a process' priority class: idle, below_normal, normal, above_normal, high or realtime (realtime can starve the rest of the system).
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>",
"priority": "<priority>"
},
"name": "set_priority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The process ID (list_processes gives it). | |
| force | No | True only after the user agreed to the risk this tool described. | |
| priority | Yes | idle, below_normal, normal, above_normal, high or realtime. |