list-secrets
List secrets in a specified project environment folder, defaulting to root, with optional recursive mode for subfolders. Discover folder contents before managing secrets.
Instructions
List the secrets in one folder of a project environment, the root folder by default. Secrets in subfolders are left out unless recursive is true; list-folders shows which folders exist.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"environmentSlug": "<environmentSlug>"
},
"name": "list-secrets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The ID of the project, from list-projects. A project slug or exact project name also works. | |
| recursive | No | Also list the secrets in every folder below secretPath, each with its secretPath (Defaults to false) | |
| secretPath | No | The folder path, such as "/" for the root or "/backend/api" for a nested folder. Defaults to "/". | |
| includeImports | No | Also return the secrets this folder imports from other environments or folders (Defaults to true) | |
| environmentSlug | Yes | The slug of the environment, such as dev, staging or prod. list-projects shows each project's environments. An environment name such as Production also works. | |
| expandSecretReferences | No | Replace references to other secrets, such as ${DB_HOST}, with their values (Defaults to true) |