CorefinityCorefinityDocs
Open the Control PanelControl Panel
Varnish · 11 of 12

corestack_varnish_vcl_revision_get

Show one Varnish VCL revision.

Scope readNo secrets returned
On this page

When to use it

Read one custom Varnish VCL revision of a Magento 2 row by its number: the three hooks' text, its status, the reason a rejected or rolled-back revision carries and its diagnostics, with a line diff against the VCL now (the default) or against another revision.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_varnish_vcl_revision_get with site_id 4211, number 3. (Show one Varnish VCL revision.) Tell me what it returned.

Inputs

againststring

current, or another revision's number (such as "3", or "0" for the original) to diff against. Defaults to current. Up to 12 characters.

numberintegerRequired

The revision number from corestack_varnish_vcl_history_list. Revision 0 is the platform's original: the empty hooks every site starts with.

site_idintegerRequired

The row, a Magento 2 site or one of its environments. At least 1.

Example call

tools/call
{
  "name": "corestack_varnish_vcl_revision_get",
  "arguments": {
    "site_id": 4211,
    "number": 3
  }
}

If it is refused

ReasonWhat to do
tenant_mismatchThe row has no revision with that number (or the row is not yours).
varnish_not_offeredThe row is not a Magento 2 site.
invalid_argumentsThe 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_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe 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_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT