mqscript_file_write
Write content to files using specified encoding and append options for mobile automation script operations.
Instructions
Write content to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
append | No | Append to file instead of overwrite | |
content | Yes | Content to write | |
encoding | No | File encoding | UTF-8 |
filePath | Yes | File path to write |
Input Schema (JSON Schema)
{
"properties": {
"append": {
"default": false,
"description": "Append to file instead of overwrite",
"type": "boolean"
},
"content": {
"description": "Content to write",
"type": "string"
},
"encoding": {
"default": "UTF-8",
"description": "File encoding",
"enum": [
"UTF-8",
"GBK",
"ASCII"
],
"type": "string"
},
"filePath": {
"description": "File path to write",
"type": "string"
}
},
"required": [
"filePath",
"content"
],
"type": "object"
}