audit_pm_script_compatibility
Analyze Postman pm.* pre-request and test scripts to verify Bruno/Hurl transpilation coverage, flag non-transpilable constructs with line numbers, and return migration guidance.
Instructions
Analyze Postman pm.* pre-request and test scripts (either a full Postman Collection JSON or a raw JavaScript snippet) to verify Bruno/Hurl transpilation coverage and flag non-transpilable constructs such as pm.sendRequest(...) or CryptoJS with exact line numbers and Bruno/Hurl migration code guidance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "audit_pm_script_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | No | Script lifecycle phase when passing a raw JavaScript snippet (ignored when passing a full Collection JSON). | test |
| source | Yes | Either a full Postman Collection (v2.0/v2.1) JSON string or a raw Postman pm.* pre-request/test JavaScript snippet. | |
| fileName | No | Optional filename label used in line-level compatibility diagnostics. |