{
  "$schema": "https://developer.microsoft.com/json-schemas/copilot/plugin/v2.2/schema.json",
  "schema_version": "v2.2",
  "name_for_human": "LEGALDIGM",
  "namespace": "legaldigm",
  "description_for_human": "Verified Swedish and EU statutes, court cases and verbatim quotes with source references.",
  "description_for_model": "Use LEGALDIGM to retrieve verified legal sources: searchLegalSources for statutes and judgments matching a legal question, getLawSection for verbatim Swedish statutory text by SFS number and section (e.g. 1915:218 section 36 for jämkning under AvtL), getJudgment for a court decision by case number (NJA, HFD, AD). Only cite sources returned by these functions; quote verbatim text in blockquotes; never invent cases or statutes; if no source is returned, say so and refer to the court or official publisher. The output is legal information, not legal advice.",
  "logo_url": "https://legaldigm.se/copilot/color.png",
  "contact_email": "pehr@legaldigm.se",
  "legal_info_url": "https://legaldigm.se/villkor",
  "privacy_policy_url": "https://legaldigm.se/integritetspolicy",
  "functions": [
    { "name": "searchLegalSources", "description": "Search Swedish/EU statutes per section, Swedish judgments and international decisions." },
    { "name": "getLawSection", "description": "Verbatim Swedish statutory text by SFS number, optionally one section." },
    { "name": "getJudgment", "description": "A court judgment by case number or LEGALDIGM id, with summary and text." }
  ],
  "runtimes": [
    {
      "type": "OpenApi",
      "auth": { "type": "None" },
      "spec": { "url": "https://legaldigm.se/copilot/openapi.json" },
      "run_for_functions": ["searchLegalSources", "getLawSection", "getJudgment"]
    }
  ]
}
