Ask a question to get started
Enter to send•Shift+Enter new line
WatsonxTool()
BaseTool
Name of the tool.
Description of what the tool is used for.
The precise instruction to agent LLMs and should be treated as part of the system prompt.
Schema of the input that is provided when running the tool if applicable.
Schema of the config that can be provided when running the tool if applicable.
Config properties to be used when running a tool if applicable.
Validate tool.
Set tool config properties.
google_search = watsonx_toolkit.get_tool("GoogleSearch") print(google_search.tool_config_schema) tool_config = {"maxResults": 3} google_search.set_tool_config(tool_config)
IBM watsonx.ai Tool.