ToolSchema#
- class langchain_ibm.toolkit.ToolSchema[source]#
Bases:
BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- param config: dict | None = None#
Configuration options that can be passed for some tools, must match the config schema for the tool.
- param input: str | dict [Required]#
Input to be used when running a tool.