Check performance budgets
get_budget_statusPerformance budget check for CI gates: evaluates a measurement against the performance budgets of your project URLs (page weight per resource type, third parties, lab metrics, score, field data) and returns passed true/false per URL and overall. Each budget has status ok, warn (within budget but less than 10 percent headroom; still passes), over or no_data. Pass the scan_id from scan_url after get_scan reports done, or a url_id for its latest completed measurement. passed is null while the scan is still running or when no budgets apply. Not to be confused with the PageSpeed test budget in get_usage. Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_budget_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | optional: limit a scan_id check to this page | |
| url_id | No | project URL id, from list_urls; latest completed measurement | |
| scan_id | No | scan_id from scan_url, get_scan or get_history |