List processes on a QNX target
processesRetrieves QNX target program and thread state as structured JSON, filtered by pid or name, with optional per-thread priority, policy, state, and blocking details.
Instructions
Run pidin with fixed -F format strings and return processes as JSON: pid, ppid, uid, name, path, args, code/data size, thread count and thread states (READY, RECEIVE, REPLY, SEND, MUTEX, ...). include_threads adds per-thread priority, policy, state and what it is blocked on.
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": {
"target": "<target>"
},
"name": "processes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Only this pid | |
| name | No | Case-insensitive substring filter on process name or path | |
| target | Yes | Target name such as 'tb' (lowercase letters, digits, '-', '_'); must be inside the server allowlist | |
| include_threads | No | Include the per-thread list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||