Tool routing configuration is modeled by ToolAutorouterRequest from @illalabs/interfaces.
Start with SDK defaults unless you need deterministic routing behavior.
Most integrations should not define the full autorouter config initially.
Using the ILLA SDK
Set default routing via contextManagerOptions.defaultToolsConfig.
Per-chat configuration with a custom ContextManager
Read current configuration
Update configuration on an existing chat
Notes
- Configuration is persisted in the chat context.
ContextManager deep-clones stored config to avoid accidental mutation.