Codex Explain Code
codex_explain_codeExplain code, logic, or architecture in depth to understand unfamiliar codebases, onboard new developers, or document complex systems.
Instructions
Ask Codex to deeply explain code, logic, or architecture. Useful for understanding unfamiliar code, onboarding, or documenting complex systems.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Depth of explanation: overview, detailed, or full execution trace | detailed |
| target | Yes | What to explain: file path, function name, module, or code snippet | |
| context | No | Additional context about the codebase | |
| threadId | No | Continue a previous Codex conversation: pass the threadId returned by an earlier call. Omit to start a fresh thread. | |
| workingDirectory | No |