get_test_examples
Search test files for usage examples of a function or class. Returns code snippets showing how the entity is used in tests.
Instructions
Find usage examples for a function or class by searching test files in the indexed repository. Returns code snippets showing how the entity is used in tests.
Requires: index_repository must be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| entity_name | Yes | Name of the function or class to find examples for | |
| max_examples | No | Maximum number of examples to return (default: 5) |