Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't make simple tool agent (google api) : "Too many arguments to single-input tool google_search" #1

Open
nimasteryang opened this issue Nov 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nimasteryang
Copy link
Owner

nimasteryang commented Nov 14, 2024

Hi,

Bug Description

When trying to make a simple tool calling agent that searches the web through google search api it return the following error :

ToolException: Too many arguments to single-input tool google_search. Consider using StructuredTool instead. Args: [['social ontology definition', 'what is social ontology'], {'tags': ['ontology', 'social science'], 'max_concurrency': 1}]

Reproduction

  1. Build a simple tool agent calling flow that calls google search api
  2. Run agains any query
  3. See error

Expected behavior

Agent answer user's question using google api tool

Who can help?

No response

Operating System

Mac OS

Langflow Version

1.0.19

Python Version

3.12

Screenshot

image

### Flow File [flow bug report.json](https://github.com/user-attachments/files/17712981/flow.bug.report.json)
@nimasteryang nimasteryang added the enhancement New feature or request label Nov 14, 2024
@nimasteryang nimasteryang changed the title A Can't make simple tool agent (google api) : "Too many arguments to single-input tool google_search" Nov 14, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant