fix(docs): correct outdated references to tool kinds (#49)

This commit is contained in:
Twisha Bansal
2024-11-06 23:57:14 +05:30
committed by GitHub
parent 52ebb431b7
commit 972888b9d6
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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: