{"openapi":"3.0.3","info":{"title":"Gnist Context — DMI Weather Warnings (Denmark)","description":"Danish weather warnings from DMI — current national warnings with severity levels (Low/Moderate/Severe/Dangerous) covering rain, wind, snow, thunderstorms, fog, black ice, heat, and flooding.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/dmi-warnings/`\n- **Toolkit page:** `/toolkits/dmi-warnings`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/dmi-warnings/get_weather_warnings":{"post":{"tags":["Environment"],"summary":"get_weather_warnings","description":"Get current DMI weather warnings for Denmark.\n\nReturns active weather warnings from the Danish Meteorological Institute\n(DMI). Warnings cover meteorological events including wind, rain,\nsnow, thunderstorms, fog, black ice, heat, and flooding.\n\nWarning severity types: 1 (Low/risk notice), 2 (Moderate),\n3 (Severe), 4 (Dangerous).\n\nReturns:\n    List of warnings with severity, affected areas, and time periods.","operationId":"dmi_warnings_get_weather_warnings","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"severity":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter by minimum warning type: 1=Low, 2=Moderate, 3=Severe, 4=Dangerous. Omit for all levels."},"cause":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter by warning cause code: regn, vind, sne, konvektion, isslag, tage, temperatur, forvand. Omit for all types."}},"type":"object"}}}}}},"/rest/dmi-warnings/get_warning_causes":{"post":{"tags":["Environment"],"summary":"get_warning_causes","description":"List DMI warning cause types and severity levels.\n\nReturns the full set of warning cause codes (regn, vind, sne, etc.)\nand severity levels (1-4) used in Danish weather warnings. Useful\nfor understanding the classification system before querying active\nwarnings.\n\nReturns:\n    Warning causes and severity levels with descriptions.","operationId":"dmi_warnings_get_warning_causes","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}]}},"/rest/dmi-warnings/report_feedback":{"post":{"tags":["Environment"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"dmi_warnings_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Environment","description":"Data sources: Environment"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}