Back to Genai Toolbox

vector-assist-list-specs

docs/en/integrations/cloud-sql-pg/tools/vector-assist-list-specs.md

1.4.02.1 KB
Original Source

About

The vector-assist-list-specs tool lists all defined vector specifications for a given table and column name.

Use this tool to list vector specifications which were created in the context of the vector assist tools. It provides a high-level overview of existing vector setups. Under the hood, this tool connects to the target database and executes the vector_assist.list_specs function.

Compatible Sources

{{< compatible-sources >}}

Requirements

{{< notice tip >}} Ensure that your target PostgreSQL database has the required vector_assist extension installed, in order for this tool to execute successfully. {{< /notice >}}

Parameters

The tool takes the following input parameters:

ParameterTypeDescriptionRequired
table_namestringTable name to list vector specifications for.Yes
column_namestringColumn name to list vector specifications for.No

Note : Parameters are marked as required or optional based on the tool's parameter definitions. The underlying function may perform further validation on optional parameters to ensure all necessary data is available before returning a response.

Example

yaml
kind: tool
name: list_specs
type: vector-assist-list-specs
source: my-database-source
description: "This tool lists all defined vector specifications for a given table and column name. Use this tool to list vector specifications which were created in the context of the vector assist tools."

Reference

fieldtyperequireddescription
typestringtrueMust be "vector-assist-list-specs".
sourcestringtrueName of the source the SQL should execute on.
descriptionstringfalseDescription of the tool that is passed to the agent.