Skip to main content

Sessions add preloaded tools and direct tools preset

Sessions now support preloading frequently used tools into session.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

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.
For agents that still need selected helper behavior, supported meta tool groups can be enabled alongside the preset:
See Preloading tools, Direct tools preset, and Preloading custom tools for Python examples and full guidance.