Class ReadDocumentTool

All Implemented Interfaces:
GuardedExecution, Identifiable, Job<Document>, Tool<FileEntry, Document>

public class ReadDocumentTool extends DecisionTool<FileEntry, Document>
Reads a file as text: a text file decoded, an Office document with its tags stripped. A PDF, an image, a binary or an empty file is refused with the reason, which a decision thinker feeds back to its model as a fact of the run: this palette reads what code can read, and the model learns which files those are.
Since:
0.1 (2026-09-24)
Author:
Andrey Santrosyan