py_source
Retrieve the source code of an installed Python function, class, or module, truncated to a character limit, so agents can inspect actual implementations instead of guessing.
Instructions
Return the source code of an installed Python function/class/module (truncated to max_chars).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| max_chars | No | ||
| project_dir | No | ||
| include_project | No |