with Tool Object
Add a tool object to the prompt runner. The tool object should have @Tool annotations.
Return
PromptRunner instance with the added tool object
Parameters
tool Object
the object to add. If it is null or has no Tool annotations, nothing is done. This is not an error
Add a tool object
Parameters
tool Object
the object to add.