get_process_dictionary
Read hidden process metadata from the process dictionary—such as OTP internals, custom flags—when it's not in the main GenServer state.
Instructions
Read the process dictionary — hidden metadata stored outside the main state. Contains OTP internals like $ancestors, $initial_call, plus any custom entries (Logger metadata, step context, flags).
WHEN TO USE: You need metadata that isn't in the GenServer state — OTP ancestry, custom flags, or debugging context. NOT FOR: The process's main data (use get_process_state). Process vitals like memory/stacktrace (use get_process_info).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | PID string (e.g. "<0.123.0>") or registered name |