list_handles
List a process's open handles by type, name, and target to identify files, registry keys, events, or processes it holds open. Requires user approval before opening the process.
Instructions
The handles a process holds, by type, with the names of files, registry keys, events and other objects; for processes held open, which process each one is. OPENS THE PROCESS (handles are duplicated out of it to read their names): the first call is refused with the risks; call again with force=true only if the user agreed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The process ID. | |
| kind | No | Only handles of this type (File, Key, Event, Process, Thread, Section...). | |
| name | No | Only handles whose name contains this (any case). | |
| force | No | True only after the user agreed to the risk this tool described. | |
| limit | No | At most this many (default 200, at most 2000). |