set_retention_policy
Set how many days to retain traces before archiving. Configure retention_days to manage local trace storage.
Instructions
Set the trace retention policy (how many days to keep traces before archiving). Example: { "retention_days": 30 }
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": {
"retention_days": "<retention_days>"
},
"name": "set_retention_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retention_days | Yes | Number of days to retain traces before archiving. Must be > 0. |