CorefinityCorefinityDocs
Open the Control PanelControl Panel
Migration aids · 1 of 6

corestack_site_target_facts_get

Read a migration target's facts.

Scope readNo secrets returned
On this page

When to use it

Read what a migration needs to know about its target, without running anything on it: paths, PHP, Node.js and MariaDB versions, the database name and user (never the password), environment variable names, configuration conventions, services, the built-in cron, SSH, hosts, the fixed outbound addresses, limits and the copy hold — and, given the source application and version, whether it fits and what to upgrade first. Before the target exists, pass placement instead of site_id for the create lists and the verdict.

A custom PHP application (application: php, while PHP is offered) has no version to check: leave application_version out, in either form. Its verdict is null — pick the PHP and MariaDB from php and mariadb (the create lists before the create, the row's own after it; before the create php.create holds only the versions a new site can be created on, and while none is open php.wait ({message}) says a create waits for php.default) — unless the target cannot take a PHP site: then it is unsupported, and its reason says why.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_site_target_facts_get with site_id 4211, application magento2, application_version 2.4.7-p3. (Read a migration target's facts.) Tell me what it returned.

Inputs

applicationstring

The source's application.

wordpressmagento2laravelshopware5
application_versionstring

Its version, e.g. 6.8.3, 2.4.7-p3, 12.x or 6.6.10.8. Up to 40 characters.

editionstring

Magento2 only; left out, the default edition for the version. For another application leave it out (invalid_arguments).

open_source
placementobject

A target still to be made: where it will be created. Requires application and application_version.

Fields
cluster_idinteger

kind cluster: the CoreCluster the site will be created in. At least 1.

kindstringRequired
clusterplatform
regionstring

kind platform: the region of a standalone site.

ukusnlaus
site_idinteger

An existing target: the production row or an environment's row. At least 1.

source_databaseobject

The source's database engine and version.

Fields
enginestringRequired
mysqlmariadb
versionstringRequired

Up to 40 characters.

source_phpstring

The PHP the source runs, e.g. 7.4. Up to 16 characters.

Example call

tools/call
{
  "name": "corestack_site_target_facts_get",
  "arguments": {
    "site_id": 4211,
    "application": "magento2",
    "application_version": "2.4.7-p3"
  }
}

If it is refused

ReasonWhat to do
invalid_argumentsOn application_version ("A custom PHP application has no version to check: leave application_version out."): application: php takes no version.
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