Red Sift

view_file

View file content from the collection. Args: path: File path in the collection start_line: Start line (1-based, default: 1) end_line: End line (0 = end of file, default: 0) collection: Collection path (e.g., 'examples/smol_example/codex.sift') Returns: File content

Remote lekt9/sift

Remote (network-hosted)

Other tools also called view_file? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "title": "Path"
    },
    "end_line": {
      "type": "integer",
      "title": "End Line",
      "default": 0
    },
    "collection": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Collection",
      "default": null
    },
    "start_line": {
      "type": "integer",
      "title": "Start Line",
      "default": 1
    }
  }
}