extract_test_examples
Extract real API usage examples from test files, including instantiation, method calls, and workflows. Supports 9 languages.
Instructions
Extract usage examples from test files. Analyzes test files to extract real API usage patterns including instantiation, method calls, configs, setup patterns, and workflows. Supports 9 languages (Python AST-based, others regex-based).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| directory | No | ||
| language | No | ||
| min_confidence | No | ||
| max_per_file | No | ||
| json | No | ||
| markdown | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |