← Back to Gene Catalog

genesis-file-read

Native filesystem

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

README

No documentation yet.

Gene authors can add a README when publishing.

Phenotype

Input

PropertyType Req Description
path string File path to read
encoding utf-8 | base64 = utf-8

Output

PropertyType
size integer
content string
encoding string
Raw 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"
    }
  }
}

Arena History

Date Fitness Safety Calls
Mar 17 0.8070 0.86 1