find_implementations
Identify Python classes that implement a given Protocol or ABC, considering both explicit inheritance and structural method-set matches.
Instructions
Find classes implementing a Protocol or ABC, both explicitly (as a base class, including indirect subclasses) and structurally (method-set match).
Args:
path: A .py file or directory; the containing directory is scanned.
interface: Name of the Protocol/ABC/base class. Named interface
rather than protocol to match the identical tool in the
TypeScript server, so one vocabulary works across both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| interface | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |