corestack_ varnish_ get
Show a site's Varnish.
When to use it
Read a Magento 2 row's Varnish full-page cache before changing anything: whether it is offered and on, the version in use and the versions this Magento allows, the cache size, whether Magento is configured for it, the purges left this hour and the VCL revision. Varnish runs in front of every Magento 2 site and environment on CoreStack and CoreCluster, on by default; access control (HTTP auth, the firewall, maintenance) always runs before the cache.
What the answer tells you:
offered: false on a row Varnish cannot run on yet (for example after this site's platform update).enabledandversion: on or off, and the Varnish version (a row switched off keeps its version for the next switch-on).options[]: every version withallowed(whatcorestack_varnish_version_changeandcorestack_varnish_setaccept for this Magento),recommended(the version Adobe certifies for the installed Magento patch),reason(why a version is not allowed),status(supported,lts,eol,prerelease) andeol_date. Aneoltarget needsacknowledge: ["eol"].memory_mibandstorage_mib: the cache's share of the site's memory and its page storage. It comes from the Redis full-page cache share (Magento's full-page cache moves to Varnish), never from PHP.magento_config.state:varnish(Magento sends its pages and purges to Varnish),builtin(Magento's own cache),needs_repair(repair withcorestack_function_runand the functionmagento_varnish_config) orpending_code(configured at the first deployment).purge:remaining_this_hourof the ten an hour per site,available_inseconds when none is left, and thelastpurge (originsays who or what sent it:panel,api,mcp,deployment,magentoand so on).vcl: the custom VCL revision and the one applied (corestack_varnish_vcl_gethas the text);pending: a change waiting for the maintenance window.site: the row's id, domain and environment name.
The Varnish App (hit ratio, requests, memory and purges as charts, with a Flush cache sheet) opens from this tool in clients that show apps; corestack_varnish_stats has the same series as data.
Ask for it
Using the Corefinity MCP server, call corestack_varnish_get with site_id 4211. (Show a site's Varnish.) Tell me what it returned.Inputs
The row, a Magento 2 site or one of its environments. At least 1.
Example call
{
"name": "corestack_varnish_get",
"arguments": {
"site_id": 4211
}
}If it is refused
| Reason | What to do |
|---|---|
varnish_not_offered | The row is not a Magento 2 site. |
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. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
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. |