find_compatible_models
Find models that can connect to a given model in a flow. Use 'downstream' to find models whose inputs match this model's outputs (what can come AFTER). Use 'upstream' to find models whose outputs match this model's inputs (what can come BEFORE). Returns compatible models sorted by number of matching ports. Use this BEFORE creating a flow to ensure models can be wired together.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | The model to find compatible partners for. | |
| direction | No | 'downstream' (default): models that can come AFTER this model. 'upstream': models that can come BEFORE. |