import_from_curl
Convert a cURL command into a reusable API request and add it to an Insomnia collection, with optional folder and custom name.
Instructions
Create a request from a cURL command
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": {
"curlCommand": "<curlCommand>",
"collectionId": "<collectionId>"
},
"name": "import_from_curl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | No | Optional folder ID to place the request in | |
| curlCommand | Yes | The cURL command to parse | |
| requestName | No | Name for the new request | |
| collectionId | Yes | ID of the collection to add the request to |