sc_get_changelist
Retrieve the files in a source control changelist. For Git/SVN without explicit changelists, returns all locally modified files; empty list if no provider is set.
Instructions
Get files in a source control changelist.
For providers without explicit changelists (Git, SVN), returns all locally modified files.
When no provider is configured, returns an empty files list (success=True, available=False).
Args: changelist: Changelist name/number. 'default' = default changelist.
Returns: JSON StructuredResult with outputs: changelist — the queried changelist name description — changelist description (empty string if unavailable) available — bool — False when no SC provider files — [{path, state}]
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: sc_get_changelist()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changelist | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |