Preview an API import
preview_importParse an OpenAPI, Swagger, Postman, Insomnia, HAR, GraphQL, or cURL document from text or URL to see what importing it into a project would add, without saving changes.
Instructions
Read-only (nothing is saved). Parses an OpenAPI, Swagger, Postman, Insomnia, HAR, GraphQL or cURL document, given as text or a URL, and says what an import into the project would add.
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": {
"project": "<project>"
},
"name": "preview_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Or a URL to fetch it from | |
| content | No | The document text | |
| project | Yes | Project ref (e.g. payments-kqzxm) or numeric id |