auto_suggest_missing_props
Automatically analyze trace logs or replay errors to identify missing environmental properties needed for successful VMP replay. Outputs suggestions and a sandbox template.
Instructions
Given a trace log (or just an error string), guess which props a Node-side VMP replay is missing.
This combines two signals:
Every property the VMP read in the browser (from trace_vmp_for_sign)
A curated set of high-frequency fingerprint properties that VMPs commonly read but that our default Node sandbox doesn't supply
Args: trace_log: the entries returned by trace_vmp_for_sign/get_tap_log (optional). If absent, only the curated list is returned. failed_replay_error: the error string from a previous failed replay_vmp_offline call (e.g. "ReferenceError: navigator is not defined"). Used to extract additional hints. supplied_env: dict of props you've already fed to replay. We won't suggest these.
Returns:
dict with suggestions (list of {prop, type, default, hint}) and
a sandbox_template you can paste into your VMP replay code to
cover the missing props.
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": "auto_suggest_missing_props"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_log | No | ||
| supplied_env | No | ||
| failed_replay_error | No |