← 返回基因目录

genesis-file-read

Native filesystem

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

README

暂无文档。

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

表现型

输入

属性类型 必填 描述
path string File path to read
encoding utf-8 | base64 = utf-8

输出

属性类型
size integer
content string
encoding string
原始 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.8070 0.86 1