Draft a generic entry from a spec
draft_entryPreview and prepare generic MCP tool entries from an OpenAPI/Swagger source without saving them. Choose operations by ID or METHOD /path, set a limit, then review before saving.
Instructions
Draft a generic entry (tools straight from the API's own operations: name, description, input schema from the parameters and body, the HTTP mapping, the docs link) from an OpenAPI 3 / Swagger 2 description (URL, file path or text; same guards as ingest_openapi). No category vocabulary: the answer is passed through as data. Choose operations with operations (operationIds or 'METHOD /path') or filter; at most limit tools (default 25). The draft is not saved: review it, then save_entry with category 'generic'.
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": {
"source": "<source>",
"id": "<id>"
},
"name": "draft_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| limit | No | ||
| filter | No | ||
| source | Yes | ||
| docs_url | No | ||
| operations | No |