Sessions add preloaded tools and direct tools preset
Sessions now support preloading frequently used tools intosession.tools() and the session MCP tool list, so agents can call them without searching each time. This works for Composio-managed tools, while SDK custom tools can be exposed directly from session.tools() with preload: true.
Keep the preloaded set focused, generally fewer than 20 tools, to avoid context bloat.
SDK versions
- Python
- TypeScript
Direct tools preset
Specialized agents with a narrow tool set can use the direct tools preset to load every tool allowed by session filters into the session’s tool list and disable session meta tools by default.- Python
- TypeScript
- Python
- TypeScript