set_performance_budget
Set performance budget thresholds for a site to define acceptable metric limits and trigger webhook events on violations. Pass null to remove all budgets.
Instructions
Set performance budget thresholds for a site. When a scan violates these thresholds, webhook events (threshold.exceeded, performance.regression) will fire. Pass null to remove all budgets.
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": "set_performance_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cls | No | Cumulative Layout Shift budget | |
| fcp | No | First Contentful Paint budget in milliseconds | |
| lcp | No | Largest Contentful Paint budget in milliseconds | |
| tbt | No | Total Blocking Time budget in milliseconds | |
| url | No | The URL of the website | |
| ttfb | No | Time to First Byte budget in milliseconds | |
| site_id | No | The Pulspeed site ID (alternative to URL) | |
| performance_score | No | Minimum acceptable performance score (0-100) |