Skip to content

Conversation

Myst9
Copy link
Contributor

@Myst9 Myst9 commented Aug 28, 2025

Description


This pull request introduces a new custom tool kind cloudsql-pg-list-tables that allows users to list tables within a Cloud SQL for PostgreSQL database.

Example Configuration

tools:
  cloudsql_pg_list_tables:
    kind: cloudsql-pg-list-tables
    source: cloudsql-pg-source
    description: Use this tool to retrieve schema information for all or specified tables. Output format can be simple (only table names) or detailed.

Example Request

curl -X POST http://127.0.0.1:5000/api/tool/cloudsql_pg_list_tables/invoke \
-H "Content-Type: application/json" \
-d '{
    "table_names": "users",
    "output_format": "simple"
}'

@Myst9 Myst9 requested a review from a team as a code owner August 28, 2025 06:59
Copy link
Contributor

Copy link
Contributor

@prernakakkar-google
Copy link
Contributor

Can you add example curl call or screenshot of call in description.

@Myst9 Myst9 changed the title feat: Add custom tool kind for list-tables - cloudsql-pg feat!: Add custom tool kind for list-tables - cloudsql-pg Aug 28, 2025
Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

@averikitsch
Copy link
Contributor

We shouldn't need this new tool. We can share #1284 as per @Yuan325 comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants