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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_id": "<model_id>"
},
"name": "find_compatible_models"
}
}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. |