download_edss_documentation
Need EDSS documentation? Get a download link for the entire documentation as a ZIP file.
Instructions
Get download link for EDSS documentation as ZIP file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| download | No | Return download information for ZIP file |
Implementation Reference
- index.js:67-79 (registration)Tool registration in ListToolsRequestSchema handler. Defines name, description, and input schema for the 'download_edss_documentation' tool.
name: "download_edss_documentation", description: "Get download link for EDSS documentation as ZIP file", inputSchema: { type: "object", properties: { download: { type: "boolean", default: true, description: "Return download information for ZIP file" } } } }, - index.js:69-79 (schema)Input schema for the download_edss_documentation tool. Accepts optional 'download' boolean with default true.
inputSchema: { type: "object", properties: { download: { type: "boolean", default: true, description: "Return download information for ZIP file" } } } }, - index.js:544-558 (handler)Handler function for download_edss_documentation. Returns JSON with the ZIP download URL (latest version) from legacyDocUrls. Note: the 'download' input arg is accepted but not used in the implementation.
async downloadDocumentation(args) { return { content: [ { type: "text", text: JSON.stringify({ zipUrl: this.legacyDocUrls.latestZip, description: "Download complete EDSS documentation as ZIP", contentType: "application/zip", version: "latest" }, null, 2) } ] }; } - index.js:33-37 (helper)Legacy URL helper object containing the ZIP download URL used by the downloadDocumentation handler.
this.legacyDocUrls = { latest: "http://dh.lan:777/docs/EDSS/JEFFERSONVILLE/documentation/v4/", trunk: "http://dh.lan:777/docs/EDSS/trunk/documentation/v4/", latestZip: "http://dh.lan:777/docs/EDSS/JEFFERSONVILLE/documentation/v4/get_doc.php?t=zip" }; - index.js:186-187 (registration)Tool call dispatch in CallToolRequestSchema handler. Routes the tool name 'download_edss_documentation' to the downloadDocumentation method.
case "download_edss_documentation": return await this.downloadDocumentation(args);