Skip to content

Integration Modules

Integration modules provide compatibility with various frameworks and protocols, enabling tool registration from external sources.

Available Integrations

Module Main Class Wrapper Reference
OpenAPI OpenAPIIntegration OpenAPIToolWrapper REST API tool generation from OpenAPI specs
MCP MCPIntegration MCPToolWrapper Model Context Protocol server communication
LangChain LangChainIntegration LangChainToolWrapper LangChain BaseTool interoperability
Native ClassToolIntegration Python class method registration

Common Patterns

All integrations share these patterns:

  • Wrapper + Integration classes: Wrappers handle execution; Integration classes orchestrate registration
  • Async/sync support: All integrations support both register_from_*() and register_from_*_async() methods
  • Namespace support: False (no prefix), True (auto-generated), or str (custom namespace)
  • Error preservation: Original framework exceptions are preserved with additional context

See Also