Perf Engineer
v0.2.0Diagnose slow web pages, LCP, and Core Web Vitals with Lighthouse and Chrome evidence.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
perf_negotiate
Negotiate protocol compatibility (v2.x) with Perf Engineer Core.
| Parameter | Type | Description |
|---|---|---|
supportedProtocol * | object |
perf_create_run
Create a new read-only performance diagnostic run after verifying host capabilities.
| Parameter | Type | Description |
|---|---|---|
request * | object | |
capabilities | object | |
runMode | string |
perf_confirm_scenario
Freeze the diagnostic scenario version before login or baseline measurement.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
runId * | string |
perf_begin_login
Open a Core-managed visible browser window with an isolated 0o700 profile for manual user login.
| Parameter | Type | Description |
|---|---|---|
runId * | string |
perf_confirm_login
Confirm manual login is complete so Core closes the login window and reuses the isolated profile for measurement.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
runId * | string |
perf_start_measurement
Start asynchronous Lighthouse baseline measurement. Returns operationId immediately; poll via perf_get_operation.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
runId * | string |
perf_get_operation
Poll status and progress of an asynchronous operation (including restart-interrupted detection).
| Parameter | Type | Description |
|---|---|---|
operationId * | string |
perf_cancel_operation
Cancel an in-flight asynchronous measurement operation and mark the run cancelled.
| Parameter | Type | Description |
|---|---|---|
operationId * | string |
perf_claim_source_phase
Claim a single-use Core-issued phase lease for source analysis and receive compact issue packets, Lighthouse 12 diagnostics, and evidence references.
| Parameter | Type | Description |
|---|---|---|
runId * | string |
perf_get_sop
Read the built-in first-screen performance diagnostic SOP playbook (full or by section id like dim-1..dim-6).
| Parameter | Type | Description |
|---|---|---|
playbookId | string | |
section | string |
perf_get_evidence
Fetch paginated runtime evidence projections (top-assets, image-audit, script-and-third-party, network-waterfall, network-requests, render-blocking, lcp-breakdown, long-tasks, resource-headers).
| Parameter | Type | Description |
|---|---|---|
projectionKind * | string | |
runId * | string | |
artifactId | string | |
cursor | string | |
evidenceId | string | |
limit | integer |
perf_read_anchor
Read-only helper that returns exact line-range snippet and SHA-256 fileDigest for a file inside the diagnosed repository.
| Parameter | Type | Description |
|---|---|---|
endLine * | integer | |
path * | string | |
runId * | string | |
startLine * | integer |
perf_submit_claims
Submit structured SourceAnalysisResult bound to the Core-issued phaseExecutionId lease for Claim Gate evaluation.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
phaseExecutionId * | string | |
runId * | string | |
claims | array | |
phaseMetadata | object | |
sourceAnalysis | object |
perf_claim_task_phase
Claim a single-use Core-issued phase lease for task planning and receive compact Claim Gate results.
| Parameter | Type | Description |
|---|---|---|
runId * | string |
perf_get_claim_results
Read Claim Gate decisions for a run.
| Parameter | Type | Description |
|---|---|---|
runId * | string |
perf_submit_tasks
Submit structured TaskProposal[] bound to the Core-issued task-planning lease for Task Gate evaluation.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
phaseExecutionId * | string | |
runId * | string | |
tasks * | array | |
phaseMetadata | object |
perf_get_task_results
Read Task Gate decisions for a run.
| Parameter | Type | Description |
|---|---|---|
runId * | string |
perf_compile_artifacts
Run Report Quality Gate and publish report.md, perf-tasks.md, evidence/, and manifest.json outside the diagnosed repository.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
runId * | string | |
outputDirectory | string |
perf_get_run
Get current run state, revision, and allowed nextActions.
| Parameter | Type | Description |
|---|---|---|
runId * | string |
perf_cancel_run
Cancel a diagnostic run and clean up temporary resources.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
runId * | string |
perf_recover_run
Recover a paused or interrupted diagnostic run after verifying checkpoint integrity.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
runId * | string | |
capabilities | object |
perf_create_retest
Create a comparable retest run referencing an existing baseline run ID.
| Parameter | Type | Description |
|---|---|---|
baselineRunId * | string |
perf_compare_retest
Compare a completed retest run against its baseline run under the frozen scenario.
| Parameter | Type | Description |
|---|---|---|
baselineRunId * | string | |
retestRunId * | string |
perf_record_violation
Record a read-only policy violation observed or blocked by host hooks during a diagnostic run.
| Parameter | Type | Description |
|---|---|---|
blocked * | boolean | |
category * | string | |
reason * | string | |
runId * | string | |
toolName * | string |