Called after every add or remove. Returns the unsubscribe. Optional for custom registries.
Resolve the model for a tool call.
Returns the named model when id is provided, the single loaded model when only one is loaded, or null if the caller needs to pick.
id
Optional
Called after every add or remove. Returns the unsubscribe. Optional for custom registries.