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()
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sc_get_changelist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changelist | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |