corestack_ company_ performance_ audit_ request
Request a performance audit.
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
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
Each {environment,. 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
Up to 100 characters.
Up to 255 characters.
Up to 255 characters.
Up to 255 characters.
Up to 255 characters.
Loads per page and cache state. Defaults to 5. 1 to 20.
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
Up to 255 characters.
Up to 100 characters.
A server location id; defaults to the first one. At least 1.
Defaults to the Control Panel's. Up to 255 characters.
Example 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
| Reason | What to do |
|---|---|
forbidden | Your account cannot create performance audits. |
temporarily_unavailable | Performance audits cannot run right now; nothing was saved. Try again later. |
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. |
internal_error | Something went wrong on our side. Quote the trace id to support. |