Refresh branch index
bc_refreshRe-fetches a specified branch from upstream and re-indexes it. If no branch is given, sequentially refreshes all previously indexed branches.
Instructions
Re-fetches a branch from upstream and re-indexes it. If branch is omitted, refreshes every already-indexed branch sequentially.
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": "bc_refresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Specific branch to refresh, e.g. "w1-26". Omit to refresh all indexed branches. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refreshed | Yes | ||
| errors | Yes |