call
Returns a call of the tool named tool with input, for calls. Its id is the next of call-1, call-2 and so on.
input is an instance of the input class of the tool. To test what a tool does with an input that does not fit, pass a JsonObject or a Map in its place.
Throws
if input is not written as a JSON object.
Returns a call of the tool named tool without an input.