peaka_update_cache
Replace an existing cache's incremental and full refresh schedules with new ISO-8601 durations or turn them off.
Instructions
Update cache settings on an existing cache in the Peaka project. This endpoint replaces — not merges — the schedules, so both incrementalSchedule and fullRefreshSchedule must be supplied with the full intended state every call. Each schedule is either {type: "BASIC", expression} with an ISO-8601 duration (e.g. PT6H, P1D, P7D, P30D), or {type: "NONE"} to turn that refresh off. The response reflects the schedule actually applied, which the backend may clamp to its allowed range — check it.
If you do not already know the projectId for the current task, call peaka_list_projects first and ask the user which project to use. Remember the chosen projectId for subsequent calls in this conversation.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cacheId | Yes | The cache ID to update. Available from peaka_get_cache_statuses. | |
| projectId | Yes | The Peaka project ID to run against. | |
| fullRefreshSchedule | Yes | Full refresh schedule. Required — replaces the existing value. {type: 'BASIC', expression: 'P7D'} for recurring, or {type: 'NONE'} to disable. | |
| incrementalSchedule | Yes | Incremental refresh schedule. Required — replaces the existing value. {type: 'BASIC', expression: 'PT6H'} for recurring, or {type: 'NONE'} to disable. |