mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-10 07:58:12 -05:00
fix(docs): correct outdated references to tool kinds (#49)
This commit is contained in:
@@ -145,7 +145,7 @@ is, which source it affects, what parameters it takes, etc.
|
|||||||
```yaml
|
```yaml
|
||||||
tools:
|
tools:
|
||||||
get_flight_by_id:
|
get_flight_by_id:
|
||||||
kind: cloud-sql-postgres-generic
|
kind: postgres-sql
|
||||||
source: my-pg-instance
|
source: my-pg-instance
|
||||||
description: >
|
description: >
|
||||||
Use this tool to list all airports matching search criteria. Takes
|
Use this tool to list all airports matching search criteria. Takes
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ file. Typically, a tool will require a source to act on:
|
|||||||
```yaml
|
```yaml
|
||||||
tools:
|
tools:
|
||||||
search_flights_by_number:
|
search_flights_by_number:
|
||||||
kind: cloud-sql-postgres-generic
|
kind: postgres-sql
|
||||||
source: my-pg-instance
|
source: my-pg-instance
|
||||||
statement: |
|
statement: |
|
||||||
SELECT * FROM flights
|
SELECT * FROM flights
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ class ToolboxClient:
|
|||||||
Loads the tool, with the given tool name, from the Toolbox service.
|
Loads the tool, with the given tool name, from the Toolbox service.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
toolset_name: The name of the toolset to load.
|
tool_name: The name of the tool to load.
|
||||||
Default: None. If not provided, then all the tools are loaded.
|
Default: None. If not provided, then all the tools are loaded.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|||||||
Reference in New Issue
Block a user