CorefinityCorefinityDocs
Open the Control PanelControl Panel
Sites · 22 of 23

corestack_site_platform_plugins_get

Platform plugins.

Scope readNo secrets returnedCoreCluster
On this page

When to use it

Read whether Corefinity's platform plugins are on for a WordPress row, and which WordPress layout the platform found in the site's files: classic (standard WordPress) or bedrock (a Roots Bedrock project, where WordPress lives in web/wp and the settings in the project's .env).

The platform plugins are small must-use plugins Corefinity adds so the Control Panel's tools work: one-click login to wp-admin, the preview address on the platform host, the pre-go-live hold on email, payments and outgoing requests, the From address for email sent with PHP mail, and the guard on a preview environment. stops lists, in the person's words, what stops while they are off; refused_functions names the functions refused then (corestack_function_run answers platform_plugins_off with reason).

Read it before corestack_site_platform_plugins_set: can_change says whether the person may change it (the site's managing agency), and runtime_ready whether the row's runtime can turn them off yet.

On a production WordPress site whose runtime keeps the production guard on the platform's own setting (keyed: true):

  • cut_over: true with off_refused (a sentence): the site is past its go-live hold, so turning them off is refused. Do not ask the person to confirm; turning them back on is always allowed.
  • otherwise off_note says turning them off is refused once the site is past its go-live hold (the site gives the final answer when the change is made), and off_warning says what stops being held — email, outgoing requests, payment gateways and Action Scheduler tasks — and that it takes effect up to about a minute after the platform applies the change. Tell the person both before they agree.
  • applying: true while the last change is still being applied by the platform, or while the platform is putting back a change that did not go through. enabled is then the setting the site still has, not the one that is coming.
  • needs_attention (a sentence, else null): the platform could not confirm the setting after the last change, so enabled may not be what the site runs, and the site cannot go live. Tell the person the sentence: it names the step they can take. Where it says turning them on (or off) again confirms it, corestack_site_platform_plugins_set with that state does, the same state enabled already shows included; where it says to contact support to confirm it, this person cannot change it.

Reading never runs anything on the site.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_site_platform_plugins_get with site_id 4211. (Platform plugins.) Tell me what it returned.

Inputs

site_idintegerRequired

The row: the site or one of its environments. At least 1.

Example call

tools/call
{
  "name": "corestack_site_platform_plugins_get",
  "arguments": {
    "site_id": 4211
  }
}

If it is refused

ReasonWhat to do
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.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
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