CorefinityCorefinityDocs
Open the Control PanelControl Panel
Integrations · 28 of 39

corestack_company_performance_audit_request

Request a performance audit.

Scope writeRuns as a taskNo secrets returned
On this page

When to use it

Create a performance audit and run it. Each environment's URL loads each page several times from the server location you choose: uncached, and cached too when the page asks for it. Typical use: compare a site on its current host with the same site on Corefinity. The task ends with the audit and its results; follow it, or read the audit with corestack_company_performance_audit_get.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_company_performance_audit_request with name Before and after the move, domains [{"environment":"Current host","url":"https://www.example.com"},{"environment":"Corefinity","url":"https://example-com.cfstack.io"}], page_types [{"title":"Home","path":"/","check_cache":true},{"title":"Category","path":"/shop/"}], number_of_requests 5. (Request a performance audit.) Tell me what it returned.

Inputs

domainsarray of objectsRequired

Each {environment, url, http_username?, http_password?}. environment names the column (unique, ≤ 100 characters); url is http(s). The HTTP username and password open a protected site for the runs; they are stored for later runs and never answered. Up to 10 items.

Fields of each item
environmentstringRequired

Up to 100 characters.

http_passwordstring

Up to 255 characters.

http_usernamestring

Up to 255 characters.

urlstringRequired

Up to 255 characters.

namestringRequired

Up to 255 characters.

number_of_requestsinteger

Loads per page and cache state. Defaults to 5. 1 to 20.

page_typesarray of objectsRequired

Each {title, path?, check_cache?}. title names the row (unique, ≤ 100 characters); path is added to each URL; check_cache true also tests the page cached. Up to 20 items.

Fields of each item
check_cacheboolean
pathstring

Up to 255 characters.

titlestringRequired

Up to 100 characters.

server_locationinteger

A server location id; defaults to the first one. At least 1.

user_agentstring

Defaults to the Control Panel's. Up to 255 characters.

Example call

tools/call
{
  "name": "corestack_company_performance_audit_request",
  "arguments": {
    "name": "Before and after the move",
    "domains": [
      {"environment": "Current host", "url": "https://www.example.com"},
      {"environment": "Corefinity", "url": "https://example-com.cfstack.io"}
    ],
    "page_types": [
      {"title": "Home", "path": "/", "check_cache": true},
      {"title": "Category", "path": "/shop/"}
    ],
    "number_of_requests": 5
  }
}

If it is refused

ReasonWhat to do
forbiddenYour account cannot create performance audits.
temporarily_unavailablePerformance audits cannot run right now; nothing was saved. Try again later.
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.
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