Tool Router Improvements and New Features
Version Information
TypeScript/JavaScript
- Package:
@composio/coreand provider packages - Version:
0.3.4to0.4.0
Python
- Package:
composio-coreand provider packages - Version:
0.10.4to0.10.5
New Features
1. Wait for Connections Property
AddedwaitForConnections (TypeScript) / wait_for_connections (Python) property to manage connections configuration. This allows tool router sessions to wait for users to complete authentication before proceeding to the next step.
TypeScript:
2. Session-Specific Modifier Types
Introduced new modifier types for better session-based tool execution:SessionExecuteMetaModifiers and SessionMetaToolOptions.
TypeScript:
3. Dedicated Method for Tool Router Meta Tools
AddedgetRawToolRouterMetaTools (TypeScript) / get_raw_tool_router_meta_tools (Python) method in the Tools class for fetching meta tools directly from a tool router session.
TypeScript:
Internal Improvements
1. Performance Optimization
Eliminated unnecessary tool fetching during tool router execution, resulting in faster tool execution with fewer API calls.2. Improved Architecture
Tool router sessions now fetch tools directly from the session API endpoint instead of using tool slugs, providing better consistency and reliability.3. Simplified Implementation
Removed redundant tool schema fetching in execution paths, using a hardcoded ‘composio’ toolkit slug for meta tools.Backward Compatibility
This release is fully backward compatible:- All existing code continues to work without modifications
- New properties are optional with sensible defaults
- New modifier types can be adopted incrementally
- Internal changes have no impact on public APIs
- No migration required
Impact Summary
All changes follow semantic versioning principles and maintain full backward compatibility.