{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stormmcp/json-schema/stormmcp-save-app-instruction-request-schema.json",
  "title": "SaveAppInstructionRequest",
  "description": "Request body for creating or replacing a server's tenant-wide app instructions (MCPG-1296).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stormmcp-appinstructions-api-openapi.yml#/components/schemas/SaveAppInstructionRequest",
  "required": [
    "instructions"
  ],
  "type": "object",
  "properties": {
    "instructions": {
      "type": "string",
      "description": "    Gets or sets the markdown guidance returned by the synthesized instructions tool.\n    Deliberately uncapped: MCPG-1296 requires bodies longer than 8,192 characters to round-trip\nwithout validation failure or truncation. Content is still required — clearing instructions\nis an explicit DELETE, not an empty save, so the two intents stay distinguishable."
    },
    "instructionsToolDescription": {
      "maxLength": 500,
      "type": [
        "null",
        "string"
      ],
      "description": "    Gets or sets the description advertised to LLMs for this app's instructions tool.\n    An explicit null clears any stored description and restores the generated default\nnaming the app; the field is always applied on save, so an omitted value is treated as\nnull rather than \"leave unchanged\"."
    }
  }
}