list-secrets
List all secrets in a specified Infisical project and environment. Provide project ID and environment slug to retrieve secret names and values.
Instructions
List all secrets in a given Infisical project and environment
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 to list the secrets from (required) | |
| secretPath | No | The path of the secrets to list (Defaults to /) | |
| includeImports | No | Whether to include secret imports (Defaults to true) | |
| environmentSlug | Yes | The slug of the environment to list the secrets from (required) | |
| expandSecretReferences | No | Whether to expand secret references (Defaults to true) |