get_derived_contracts
Traverse the inheritance tree to find all contracts derived from a base contract. Use to locate implementations, assess change impact, or discover contract variants.
Instructions
Gets all contracts that inherit from a specific contract (downward traversal). Use this when finding all implementations of a base contract, understanding the impact of changes to a parent, or discovering contract variants. Returns a recursive tree of child contracts. Set max_depth to limit; returns truncated flag if exceeded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| truncated | No | True if the tree was truncated due to max_depth limit | |
| contract_key | Yes | ||
| full_derived | No | ||
| error_message | No |