get_function_body
Extract the full source of any Python function or method with line numbers, using a file path and function or dotted method name.
Instructions
Extract the full source of a function or method, with line numbers.
Args:
path: Path to a .py file.
name: Function name, Class.method, or a dotted nested path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |