Set Micro record retention
micro_retention_setSet a project-record retention policy from 30 to 3650 days or keep forever. Enable optional automatic pruning while preserving purchases and entitlements.
Instructions
Set keep-forever or a 30–3650 day project-record policy. Automatic pruning is opt-in; purchases and entitlements are never affected.
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": {
"recordDays": "<recordDays>",
"confirm": "<confirm>"
},
"name": "micro_retention_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Micro project directory; defaults to the server working directory | |
| confirm | Yes | Explicit confirmation that this retention policy should replace the inspected policy | |
| automatic | No | ||
| recordDays | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| json | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | Yes |