convert_postman_to_bruno
Convert Postman Collection and Environment JSON into Git-friendly Bruno .bru files, repairing importer issues and scrubbing secrets for safer version control.
Instructions
Convert a Postman Collection (v2.0 or v2.1 JSON) and optional Postman Environment JSON into Git-friendly Bruno (.bru) request/collection/environment files, a scrubbed .env.example, .gitignore, and MIGRATION_REPORT.md. Automatically repairs Bruno #8680 enabled:null importer crashes, normalizes dotted/hyphenated variable names (e.g. api.base.url -> api_base_url), transpiles pm.* scripts, and moves live credentials into vars:secret.
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": {
"collectionJson": "<collectionJson>"
},
"name": "convert_postman_to_bruno"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectName | No | Optional collection/project name override for bruno.json and MIGRATION_REPORT.md. | |
| collectionJson | Yes | Postman Collection v2.0 or v2.1 JSON string to compile into Bruno (.bru) files. | |
| environmentJson | No | Optional Postman Environment or Globals JSON string used to generate environments/*.bru and scrub secret variables into vars:secret. |