invoke

Invoke the tool with the given input and return a result.

The provided LanguageModelToolInvocationOptions.input has been validated against the declared schema.

Online Documentation