kiota_download
Downloads an OpenAPI specification from an HTTPS URL to a local file, validating the downloaded spec to ensure it's usable for API client generation.
Instructions
Download an OpenAPI specification from a URL to a local file. Validates the downloaded specification.
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": {
"openApiUrl": "<openApiUrl>",
"outputPath": "<outputPath>"
},
"name": "kiota_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| openApiUrl | Yes | HTTPS URL of the OpenAPI specification to download | |
| outputPath | Yes | Local path where the specification will be saved | |
| cleanOutput | No | Optional: Clean the output directory before downloading (default: false) |