audit_performance
Audit live Roblox scripts for performance issues: per-frame allocation, cloning, hierarchy scans, raycast pressure, polling, and missing pre-allocation.
Instructions
Audits live hot paths for per-frame allocation, cloning, hierarchy scans, raycast pressure, polling, and missing pre-allocation.
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": "audit_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Execution-side filter. | |
| query | No | Optional script name/path filter. | |
| offset | No | Zero-based script offset. | |
| max_scripts | No | Maximum live scripts to audit. |