Get project settings
get_settingsA project's configuration: repo, ref, framework, port, build/dependency commands, health-check path, canonical host, sub-path, output dir, and environment variables. Shows whether the project already has a database or file storage: a managed Postgres shows up as DATABASE_URL and managed object storage as S3_ENDPOINT/S3_BUCKET/S3_ACCESS_KEY/S3_SECRET_KEY/S3_REGION/S3_FORCE_PATH_STYLE, and the app reads them straight from its environment at runtime. Secret-looking values are masked unless reveal_secrets=true AND the token is read-write — read-only tokens always receive masked values. A masked value is not a problem: the variable is set in the pod, so the app reads it from its environment and nobody needs to paste it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | the project id (from list_projects) | |
| reveal_secrets | No | when true, return full env var values including secrets; default false masks secret-looking values as ***. Requires a read-write token — read-only tokens always get masked values regardless of this flag. Changing env vars does not need it: set_env_vars merges by default, so writing one var never requires reading the others. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| envs | Yes | ||
| name | Yes | ||
| port | No | ||
| repo | No | ||
| frozen | No | ||
| sub_path | No | ||
| build_cmd | No | ||
| framework | No | ||
| expires_at | No | ||
| project_id | Yes | ||
| source_kind | No | ||
| display_name | No | ||
| google_login | Yes | ||
| canonical_host | No | ||
| default_public | Yes | ||
| dependencies_cmd | No | ||
| output_directory | No | ||
| google_login_mode | No | ||
| health_check_path | No | ||
| storage_mount_path | No | ||
| google_login_allowed_emails | No |