export_collection
Export an Insomnia API collection to JSON (V4 format). Provide the collection ID to convert it into a portable file, with an optional output path.
Instructions
Export collection to JSON (Insomnia V4 format)
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": {
"collectionId": "<collectionId>"
},
"name": "export_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Output file path (optional) | |
| collectionId | Yes | ID of the collection to export |