{
  "source": "file.js",
  "method": "write",
  "input-schema": {
    "type": "object",
    "properties": {
      "path": {
        "type": "string",
        "format": "filechooser",
        "required": true
      },
      "contents": {
        "title": "content",
        "required": true,
        "type": "any"
      },
      "encoding": {
        "enum": ["utf8", "utf-8", "ascii", "binary", "latin1", "hex", "base64", "base64url", "ucs2", "ucs-2", "utf16le", "utf-16le"],
        "description": "Optonally specify the encoding.",
        "type": "string"
      }
    },
    "additionalProperties": false
  },
  "output-schema": {
    "type": "object"
  },
  "meta": {
    "name": "write",
    "description": "Write contents to a file. Use with caution, will overwrite existing contents. Use append if you need to append data to a file."
  }
}
