testneo_api_project_upload_openapi
Upload an OpenAPI file to a classic API project to store the specification for impact analysis.
Instructions
Upload OpenAPI JSON/YAML to a classic API project (stores spec on Project.openapi_spec). Use before testneo_api_project_openapi_impact. Guarded: allow-write + confirm=true. Backend: POST /api/v1/projects/{id}/upload-openapi (multipart field: file).
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_id": "<project_id>",
"openapi_file_base64": "<openapi_file_base64>",
"openapi_filename": "<openapi_filename>"
},
"name": "testneo_api_project_upload_openapi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| openapi_file_base64 | Yes | ||
| openapi_filename | Yes | ||
| confirm | No | ||
| idempotency_key | No |