Import an API spec
import_specSaves API endpoints into a project from OpenAPI, Postman, or other documents, merging by method and path or replacing the full list. Preview and confirm before import.
Instructions
Saves endpoints into an API project from an OpenAPI, Postman or other document (merged by method and path; replace swaps the whole list). Call preview_import first and confirm with the user. May start an AI reading of the API, which uses allowance.
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": "import_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| content | No | ||
| project | Yes | Project ref (e.g. payments-kqzxm) or numeric id | |
| replace | No |