mqscript_file_read
Reads file content from specified paths for mobile automation scripts, supporting multiple encodings and storing results in variables for device control operations.
Instructions
Read file content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoding | No | File encoding | UTF-8 |
filePath | Yes | File path to read | |
resultVariable | No | Variable name to store file content | fileContent |
Input Schema (JSON Schema)
{
"properties": {
"encoding": {
"default": "UTF-8",
"description": "File encoding",
"enum": [
"UTF-8",
"GBK",
"ASCII"
],
"type": "string"
},
"filePath": {
"description": "File path to read",
"type": "string"
},
"resultVariable": {
"default": "fileContent",
"description": "Variable name to store file content",
"type": "string"
}
},
"required": [
"filePath"
],
"type": "object"
}