corestack_ deployments_ branches_ list
Branches.
When to use it
The branches of a repository one of the Git connections you may use on the site can deploy from.
Ask for it
Using the Corefinity MCP server, call corestack_deployments_branches_list with site_id 4211, connection 12, repo corefinity/example-shop. (Branches.) Tell me what it returned.Inputs
connectionintegerRequired
A Git connection's id (corestack_deployments_get lists the ones you may use). At least 1.
repostringRequired
owner/name, as corestack_ answers it. Up to 200 characters.
site_idintegerRequired
At least 1.
Example call
{
"name": "corestack_deployments_branches_list",
"arguments": {
"site_id": 4211,
"connection": 12,
"repo": "corefinity/example-shop"
}
}If it is refused
| Reason | What to do |
|---|---|
tenant_mismatch | The connection is not one you may use on this site — another company's, or one belonging to an agency that manages the site (its accounts are the agency's people's). |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?