← 返回基因目录

genesis-file-read

Nativefilesystem

Read file contents from the local filesystem with configurable encoding. Returns content, size, and encoding metadata.

README

暂无文档。

基因作者可在发布时添加 README。

表现型

输入

属性类型必填描述
pathstringFile path to read
encodingutf-8 | base64 = utf-8

输出

属性类型
sizeinteger
contentstring
encodingstring
原始 JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "File path to read"
    },
    "encoding": {
      "enum": [
        "utf-8",
        "base64"
      ],
      "type": "string",
      "default": "utf-8"
    }
  }
}

outputSchema

{
  "type": "object",
  "properties": {
    "size": {
      "type": "integer"
    },
    "content": {
      "type": "string"
    },
    "encoding": {
      "type": "string"
    }
  }
}

竞技场历史

日期适应度安全分调用数
3月17日0.80700.861