[{"name":"htrflow_mcp_htr_text","description":"Extract text from handwritten documents using HTR. Handles both single images and multiple images. Returns: Extracted text from all handwritten documents","inputSchema":{"type":"object","properties":{"image_input":{"type":"string","description":"Single image path/URL, multiple paths/URLs (newline-separated), or list of uploaded files"},"document_type":{"type":"string","enum":["letter_english","letter_swedish","spread_english","spread_swedish"],"description":"Type of document layout - choose based on your documents' structure and language","default":"letter_swedish"},"custom_settings":{"type":"string","description":"Optional JSON configuration for advanced pipeline customization"},"return_format":{"enum":["separate","combined"],"title":"Radio","type":"string","description":"\"separate\" to show each document's text separately, \"combined\" to merge all text","default":"separate"}}},"meta":{"file_data_present":false,"mcp_type":"tool","endpoint_name":"htr_text"}},{"name":"htrflow_mcp_htr_generate_files","description":"Process handwritten documents and generate formatted output files. Returns a ZIP file for multiple documents, or single file for single document. Returns: Path to generated file(s)","inputSchema":{"type":"object","properties":{"image_input":{"type":"string","description":"Single image path/URL, multiple paths/URLs (newline-separated), or list of uploaded files"},"document_type":{"type":"string","enum":["letter_english","letter_swedish","spread_english","spread_swedish"],"description":"Type of document layout - affects segmentation and reading order","default":"letter_swedish"},"output_format":{"type":"string","enum":["txt","alto","page","json"],"description":"Desired output format (txt for plain text, alto/page for XML with coordinates, json for structured data)","default":"alto"},"custom_settings":{"type":"string","description":"Optional JSON configuration for advanced pipeline customization"}}},"meta":{"file_data_present":false,"mcp_type":"tool","endpoint_name":"htr_generate_files"}},{"name":"htrflow_mcp_htr_visualize","description":"Create visualizations for HTR results overlaid on original documents. Returns a ZIP file for multiple documents, or single image for single document. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: Path to visualization file(s)","inputSchema":{"type":"object","properties":{"image_input":{"type":"string","description":"Original document image paths/URLs (newline-separated if string)"},"htr_documents":{"$defs":{"FileData":{"description":"The FileData class is a subclass of the GradioModel class that represents a file object within a Gradio interface. It is used to store file data and metadata when a file is uploaded.\n\nAttributes:\n    path: The server file path where the file is stored.\n    url: The normalized server URL pointing to the file.\n    size: The size of the file in bytes.\n    orig_name: The original filename before upload.\n    mime_type: The MIME type of the file.\n    is_stream: Indicates whether the file is a stream.\n    meta: Additional metadata used internally (should not be changed).","required":["path"],"title":"FileData","type":"string","format":"Gradio File Input - a http or https url to a file"},"FileDataMeta":{"properties":{"_type":{"const":"gradio.FileData","title":"Type","type":"string"}},"required":["_type"],"title":"FileDataMeta","type":"object"}},"items":{"$ref":"#/$defs/FileData","type":"string","format":"Gradio File Input - a http or https url to a file"},"title":"ListFiles","type":"array","additional_description":null,"description":"HTR output files (ALTO/PAGE XML) - must match order of images"}}},"meta":{"file_data_present":true,"mcp_type":"tool","endpoint_name":"htr_visualize"}}]