clone


Description:

public abstract BaseTool clone () throws Error

Creates a clone of this tool with the same project_manager.

Called by OLLMtools.ToolBuilder when creating wrapped tool instances. Tools that cannot be wrapped should throw GLib.IOError.NOT_SUPPORTED.

Returns:

a new tool instance

Exceptions:

Error

GLib.IOError.NOT_SUPPORTED when wrapping is not allowed