OptionaldescriptionAn optional description of the tool to pass to the model.
OptionalextrasOptional provider-specific extra fields for the tool.
This is used to pass provider-specific configuration that doesn't fit into standard tool fields.
The name of the tool.
A Zod schema representing the parameters of the tool.
Schema for defining tools.
Version
0.2.19