Python SDK 0.14.0 removes the legacy custom-tool registry
Python SDKcomposio 0.14.0 removes the legacy composio.tools.custom_tool registry. It was an older, separate custom-tool path that duplicated the Tool Router model and made it unclear which execution surface a tool belonged to.
SDK versions
Breaking change
The current custom-tool APIs support inline execution and Tool Router preload, attach, and reuse flows. They are the only custom-tool path supported by the SDK.Migration
- Replace
@composio.tools.custom_toolwith@composio.experimental.tool. - Change the tool signature from a request object plus execution callback to
input, ctx. - Attach the tool when creating the session through
experimental.custom_tools.
extends_toolkit on the decorator and use ctx.proxy_execute(...) from the function body.