create_toolkit

create_toolkit(
    session: ClientSession,
    *,
    use_mcp_tools: bool = True,
    use_mcp_resources: bool = True,
    resource_download_folder: str | Path | None = None
) -> Toolkit

Create a toolkit from the MCP client session.

Parameters:
NameDescription
sessionThe MCP client session.

Type: ClientSession
use_mcp_toolsWhether to include MCP tools in the toolkit.

Type: bool

Default: True
use_mcp_resourcesWhether to include MCP resources in the toolkit.

Type: bool

Default: True
resource_download_folderThe folder to download files to.

Type: str | pathlib.Path | None

Default: None
Returns:
TypeDescription
ToolkitToolkit: The toolkit containing the converted tools.