get_docs
Retrieve Elixir module and function documentation from compiled .beam files to understand parameters and usage. Ideal for clarifying API behavior without network access.
Instructions
Get @moduledoc/@doc documentation for an Elixir module or function. Reads from compiled .beam files (local, no network).
WHEN TO USE: You need to understand what a function does, its parameters, or how to use a module. NOT FOR: Finding what calls a function (use xref_callers). Evaluating code (use project_eval).
Examples: "GenServer", "String.split", "String.split/2", "c:GenServer.handle_call/3" (prefix c: for callbacks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | Module name, Module.function, or Module.function/arity |