import_from_curl
Parse a curl command and save it as a new Insomnia request to make HTTP calls reusable in your API workspace. Supports -X, -H, -d, -u, --data, and --header flags.
Instructions
Parse a curl command and save it as a new Insomnia request. Supports -X, -H, -d, -u, --data, --header flags.
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": {
"curl_command": "<curl_command>",
"parent_id": "<parent_id>"
},
"name": "import_from_curl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Request name (defaults to URL path) | |
| parent_id | Yes | Workspace or folder ID to save into | |
| curl_command | Yes | The full curl command to import |