List bounded revisions (versions) for a strategy
list_revisionsReturns a bounded page of available revisions for a strategy with full revisionIds and version numbers. The default returns the newest 20 revisions and is capped at 50 per call so revision history never overwhelms the model context. When the user names an exact historical version such as "version 641" or "original 641", pass version= to retrieve that revision in one call instead of paging with limit/offset. Use limit/offset only when browsing unknown older history without a named version number. Use this to discover which versions exist before calling set_strategy_revision for the already-active strategy, or before calling switch_active_strategy for a different owned strategy. When a user explicitly names a strategy that differs from the open page/context, says 'the one entitled X', says 'apply this to X also', or says 'do not change Y', resolve that named strategy with list_strategies, then list revisions for the named target; do not silently use the active page revision. After this returns, pass the named target's revisionId into get_file/patch_file/replace_file. Never reuse the open page revision id for a different named strategy. For first-build strategy work, call create_strategy first; list_revisions cannot open files for a workspace that does not exist yet. Each revision has a version number (1, 2, 3...) that users refer to, and a revisionId (UUID) that you need for same-strategy version switching. The isCurrent flag indicates which revision is currently active in the conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of newest revisions to return in this bounded page. Defaults to 20 and is capped at 50. Ignored when version is set. Full revisionIds are always preserved. | |
| offset | No | Zero-based page offset for older revisions. Use only when the first bounded page is not enough. Ignored when version is set. | |
| version | No | Exact user-facing version number to retrieve (for example 641). Prefer this over limit/offset when the user names a specific historical version so the agent does not page through hundreds of newest revisions. | |
| strategyId | No | ||
| aiStrategyId | No |