list-staleflags
List feature flags that have become stale (zombie) in a product, filtering by inactivity period, environment, scope, or tags to clean up unused flags.
Instructions
This endpoint returns the list of Zombie (stale) flags for a given Product and the result can be optionally filtered by various parameters.
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": {
"productId": "<productId>"
},
"name": "list-staleflags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | The scope of the report. | |
| productId | Yes | The identifier of the Product. | |
| ignoredTagIds | No | Ignore feature flags from the report based on their tag identifiers. | |
| staleFlagAgeDays | No | The inactivity in days after a feature flag should be considered stale. | |
| ignoredEnvironmentIds | No | Ignore environment identifiers from the report. | |
| staleFlagStaleInEnvironmentsType | No | Consider a feature flag as stale if the feature flag is stale in all/any of the environments. |