mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-05 12:45:11 -05:00
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -138,7 +138,7 @@ const tool = await toolbox.loadTool("my-tool")
|
||||
Once loaded, tools behave like awaitable JS functions. You invoke them using `await` and pass arguments corresponding to the parameters defined in the tool's configuration within the Toolbox service.
|
||||
|
||||
```javascript
|
||||
const tool = await toolbox.loadTool("my-tool")
|
||||
const tool = await client.loadTool("my-tool")
|
||||
const result = await tool.runAsync(args: {a: 5, b: 2})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user