Problem
Currently when you call the list_clusters tool, it asks for a project name (even if it's already specified in a env variable).
Suggested Solution
We can update the list_projects tool so that it takes in a default project:
- If the project isn't specified, we make the parameter required.
- If the project is specified, we make it an optional parameter with the project as the default.
e.g. config:
tools:
list_clusters:
kind: alloydb-list-clusters
source: alloydb-admin-source
defaultProject: ${ALLOYDB_POSTGRES_PROJECT:""}
Problem
Currently when you call the
list_clusterstool, it asks for a project name (even if it's already specified in a env variable).Suggested Solution
We can update the
list_projectstool so that it takes in a default project:e.g. config: