action jellyfin_get_directory_contents { label: "Gets the contents of a given directory in the file system." provider: jellyfin method: GET path: "/Environment/DirectoryContents" encoding: json input: { type: "object" properties: { includeDirectories: { type: "boolean" description: "An optional filter to include or exclude folders from the results. true/false." } includeFiles: { type: "boolean" description: "An optional filter to include or exclude files from the results. true/false." } path: { type: "string" description: "The path." } } required: ["path"] additionalProperties: false } output: { type: "array" items: { type: "object" description: "Class FileSystemEntryInfo." properties: { Name: { type: "string" description: "Gets the name." } Path: { type: "string" description: "Gets the path." } Type: { type: "string" description: "Enum FileSystemEntryType." enum: ["File", "Directory", "NetworkComputer", "NetworkShare"] } } additionalProperties: false } } }