{"at":"2026-11-23T00:56:34.758Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:56:35.688Z","dir":"received","era":"server_discover","message":{"error":{"code":-32602,"data":"","message":"Invalid request parameters"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:56:35.839Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:56:36.810Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"Lathe processes files and media on this machine: images, PDFs, audio and video, and OCR. Call lathe_modules first: it lists the modules, which are on, which pieces are missing and the command to install each. Skills (MCP prompts) explain how to do the job well; start with the getting-started prompt. Paths are relative to the working directory (LATHE_WORKING_DIR) and must stay inside it. No output replaces an existing file unless overwrite=true. Writing tools create one new file and never overwrite one unless overwrite=true. batch_process asks the person to approve a run of two or more files. Errors read 'lathe.<module>.<code>: <message> Fix: <hint>'.","protocolVersion":"2025-11-25","serverInfo":{"name":"lathe","version":"0.4.1"}}}}
{"at":"2026-11-23T00:56:36.810Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:56:36.810Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:56:36.813Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Image metadata: width, height, format, mode, file size, and EXIF tags (capped).","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"}},"required":["input_path"],"title":"image_infoArguments","type":"object"},"name":"image_info","outputSchema":{"properties":{"exif":{"additionalProperties":{"type":"string"},"description":"Up to 50 EXIF tags; values cut at 200 characters.","title":"Exif","type":"object"},"exif_truncated":{"default":false,"title":"Exif Truncated","type":"boolean"},"file_bytes":{"title":"File Bytes","type":"integer"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"height":{"title":"Height","type":"integer"},"mode":{"title":"Mode","type":"string"},"width":{"title":"Width","type":"integer"}},"required":["width","height","format","mode","file_bytes"],"title":"ImageInfo","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Resize an image by width, height, or percentage. Keeps the aspect ratio when only one dimension is given. Output format comes from the output extension.","inputSchema":{"properties":{"height":{"anyOf":[{"maximum":178956970,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Height"},"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Percentage"},"width":{"anyOf":[{"maximum":178956970,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Width"}},"required":["input_path","output_path"],"title":"image_resizeArguments","type":"object"},"name":"image_resize","outputSchema":{"properties":{"format":{"title":"Format","type":"string"},"height":{"title":"Height","type":"integer"},"original_size":{"items":{"type":"integer"},"title":"Original Size","type":"array"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"width":{"title":"Width","type":"integer"}},"required":["output_path","output_bytes","width","height","format","original_size"],"title":"ResizeResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Convert an image to png, jpeg, webp, avif or bmp. The output extension must match.","inputSchema":{"properties":{"format":{"title":"Format","type":"string"},"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"}},"required":["input_path","output_path","format"],"title":"image_convertArguments","type":"object"},"name":"image_convert","outputSchema":{"properties":{"format":{"title":"Format","type":"string"},"height":{"title":"Height","type":"integer"},"input_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Format"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"width":{"title":"Width","type":"integer"}},"required":["output_path","output_bytes","width","height","format","input_format"],"title":"ConvertResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Shrink an image for web delivery. Metadata is stripped unless strip_metadata=false.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"quality":{"default":80,"maximum":100,"minimum":1,"title":"Quality","type":"integer"},"strip_metadata":{"default":true,"title":"Strip Metadata","type":"boolean"}},"required":["input_path","output_path"],"title":"image_optimizeArguments","type":"object"},"name":"image_optimize","outputSchema":{"properties":{"format":{"title":"Format","type":"string"},"height":{"title":"Height","type":"integer"},"original_bytes":{"title":"Original Bytes","type":"integer"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"savings_percent":{"title":"Savings Percent","type":"number"},"width":{"title":"Width","type":"integer"}},"required":["output_path","output_bytes","width","height","format","original_bytes","savings_percent"],"title":"OptimizeResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Crop a rectangle from an image. x and y are pixels from the top-left corner.","inputSchema":{"properties":{"height":{"minimum":1,"title":"Height","type":"integer"},"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"width":{"minimum":1,"title":"Width","type":"integer"},"x":{"minimum":0,"title":"X","type":"integer"},"y":{"minimum":0,"title":"Y","type":"integer"}},"required":["input_path","output_path","x","y","width","height"],"title":"image_cropArguments","type":"object"},"name":"image_crop","outputSchema":{"properties":{"crop_box":{"items":{"type":"integer"},"title":"Crop Box","type":"array"},"format":{"title":"Format","type":"string"},"height":{"title":"Height","type":"integer"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"width":{"title":"Width","type":"integer"}},"required":["output_path","output_bytes","width","height","format","crop_box"],"title":"CropResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Make a thumbnail that fits inside a square of the given size, keeping the aspect ratio.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"size":{"default":128,"maximum":4096,"minimum":1,"title":"Size","type":"integer"}},"required":["input_path","output_path"],"title":"image_thumbnailArguments","type":"object"},"name":"image_thumbnail","outputSchema":{"properties":{"format":{"title":"Format","type":"string"},"height":{"title":"Height","type":"integer"},"max_dimension":{"title":"Max Dimension","type":"integer"},"original_size":{"items":{"type":"integer"},"title":"Original Size","type":"array"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"width":{"title":"Width","type":"integer"}},"required":["output_path","output_bytes","width","height","format","original_size","max_dimension"],"title":"ThumbnailResult","type":"object"}},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"PDF metadata: page count, file size, encryption, title, author and creator.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"}},"required":["input_path"],"title":"pdf_infoArguments","type":"object"},"name":"pdf_info","outputSchema":{"properties":{"author":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Author"},"creator":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Creator"},"encrypted":{"title":"Encrypted","type":"boolean"},"file_bytes":{"title":"File Bytes","type":"integer"},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"None when the PDF is encrypted and cannot be opened without a password.","title":"Page Count"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"}},"required":["page_count","file_bytes","encrypted"],"title":"PdfInfo","type":"object"}},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Extract text from a PDF, or from some pages (\"2-5\"). Pages with no text layer are read with OCR when it is installed. Long text comes in parts: pass next_offset as offset to continue.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"},"max_chars":{"default":20000,"maximum":200000,"minimum":1,"title":"Max Chars","type":"integer"},"ocr_fallback":{"default":true,"title":"Ocr Fallback","type":"boolean"},"offset":{"default":0,"minimum":0,"title":"Offset","type":"integer"},"pages":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pages"}},"required":["input_path"],"title":"pdf_extract_textArguments","type":"object"},"name":"pdf_extract_text","outputSchema":{"properties":{"method":{"description":"text_layer, ocr, no_text_found or ocr_unavailable.","title":"Method","type":"string"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Pass as offset to read the next part. None at the end.","title":"Next Offset"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Note"},"offset":{"title":"Offset","type":"integer"},"pages":{"items":{"type":"integer"},"title":"Pages","type":"array"},"returned_chars":{"title":"Returned Chars","type":"integer"},"text":{"title":"Text","type":"string"},"total_chars":{"title":"Total Chars","type":"integer"}},"required":["text","method","pages","total_chars","offset","returned_chars","next_offset"],"title":"PdfText","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Merge several PDFs, in the order given, into one new PDF.","inputSchema":{"properties":{"input_paths":{"items":{"type":"string"},"title":"Input Paths","type":"array"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"}},"required":["input_paths","output_path"],"title":"pdf_mergeArguments","type":"object"},"name":"pdf_merge","outputSchema":{"properties":{"input_count":{"title":"Input Count","type":"integer"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"total_pages":{"title":"Total Pages","type":"integer"}},"required":["output_path","output_bytes","input_count","total_pages"],"title":"PdfMerge","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Render PDF pages to PNG or JPEG files in a folder, at a chosen DPI. Needs ghostscript.","inputSchema":{"properties":{"dpi":{"default":150,"maximum":600,"minimum":72,"title":"Dpi","type":"integer"},"format":{"default":"png","enum":["png","jpeg"],"title":"Format","type":"string"},"input_path":{"title":"Input Path","type":"string"},"output_dir":{"title":"Output Dir","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"pages":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pages"}},"required":["input_path","output_dir"],"title":"pdf_to_imagesArguments","type":"object"},"name":"pdf_to_images","outputSchema":{"properties":{"count":{"title":"Count","type":"integer"},"dpi":{"title":"Dpi","type":"integer"},"format":{"title":"Format","type":"string"},"images":{"items":{"type":"string"},"title":"Images","type":"array"},"output_dir":{"title":"Output Dir","type":"string"}},"required":["output_dir","images","count","format","dpi"],"title":"PdfImages","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Split a PDF into parts of N pages each. Writes new PDFs into a folder and never overwrites one unless overwrite=true.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"},"output_dir":{"title":"Output Dir","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"pages_per_file":{"default":1,"maximum":10000,"minimum":1,"title":"Pages Per File","type":"integer"}},"required":["input_path","output_dir"],"title":"pdf_splitArguments","type":"object"},"name":"pdf_split","outputSchema":{"properties":{"count":{"title":"Count","type":"integer"},"files":{"items":{"type":"string"},"title":"Files","type":"array"},"output_dir":{"title":"Output Dir","type":"string"},"pages_per_file":{"title":"Pages Per File","type":"integer"},"total_pages":{"title":"Total Pages","type":"integer"}},"required":["output_dir","files","count","total_pages","pages_per_file"],"title":"PdfSplit","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Write a smaller copy of a PDF. Lossless: it recompresses content streams and removes duplicate objects; images are not re-encoded. Writes one new file; never overwrites unless overwrite=true.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"}},"required":["input_path","output_path"],"title":"pdf_compressArguments","type":"object"},"name":"pdf_compress","outputSchema":{"properties":{"original_bytes":{"title":"Original Bytes","type":"integer"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"pages":{"title":"Pages","type":"integer"},"savings_percent":{"description":"Negative when the copy is larger than the input.","title":"Savings Percent","type":"number"}},"required":["output_path","output_bytes","original_bytes","savings_percent","pages"],"title":"PdfCompress","type":"object"}},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Audio metadata: duration, format, bitrate, sample rate, channels and codec.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"}},"required":["input_path"],"title":"audio_infoArguments","type":"object"},"name":"audio_info","outputSchema":{"properties":{"bitrate":{"title":"Bitrate","type":"integer"},"channels":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Channels"},"codec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Codec"},"duration_seconds":{"title":"Duration Seconds","type":"number"},"file_bytes":{"title":"File Bytes","type":"integer"},"format_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format Name"},"sample_rate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sample Rate"}},"required":["duration_seconds","format_name","bitrate","file_bytes","codec","sample_rate","channels"],"title":"AudioInfo","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Convert audio to mp3, wav, flac, aac or ogg. A video input keeps only its audio. The output extension must match the format.","inputSchema":{"properties":{"format":{"enum":["mp3","wav","flac","aac","ogg"],"title":"Format","type":"string"},"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"}},"required":["input_path","output_path","format"],"title":"audio_convertArguments","type":"object"},"name":"audio_convert","outputSchema":{"properties":{"format":{"title":"Format","type":"string"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"}},"required":["output_path","output_bytes","format"],"title":"AudioConvert","type":"object"}},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Video metadata: duration, resolution, codec, frame rate, bitrate and audio tracks.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"}},"required":["input_path"],"title":"video_infoArguments","type":"object"},"name":"video_info","outputSchema":{"$defs":{"AudioTrack":{"properties":{"channels":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Channels"},"codec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Codec"},"sample_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sample Rate"}},"required":["codec","channels","sample_rate"],"title":"AudioTrack","type":"object"}},"properties":{"audio_tracks":{"items":{"$ref":"#/$defs/AudioTrack"},"title":"Audio Tracks","type":"array"},"bitrate":{"title":"Bitrate","type":"integer"},"codec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Codec"},"duration_seconds":{"title":"Duration Seconds","type":"number"},"file_bytes":{"title":"File Bytes","type":"integer"},"format_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format Name"},"fps":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Frame rate as a fraction, e.g. 30000/1001.","title":"Fps"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"}},"required":["duration_seconds","format_name","bitrate","file_bytes","width","height","codec","fps","audio_tracks"],"title":"VideoInfo","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Save one frame of a video as a PNG or JPEG, at a time in seconds.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"timestamp":{"default":0.0,"minimum":0,"title":"Timestamp","type":"number"}},"required":["input_path","output_path"],"title":"video_thumbnailArguments","type":"object"},"name":"video_thumbnail","outputSchema":{"properties":{"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"timestamp_seconds":{"title":"Timestamp Seconds","type":"number"}},"required":["output_path","output_bytes","timestamp_seconds"],"title":"VideoFrame","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Cut a section out of a video into a new file (stream copy, so it is fast and lossless; cuts land on keyframes). Never overwrites unless overwrite=true.","inputSchema":{"properties":{"end":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"default":null,"title":"End"},"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"start":{"default":0.0,"minimum":0,"title":"Start","type":"number"}},"required":["input_path","output_path"],"title":"video_trimArguments","type":"object"},"name":"video_trim","outputSchema":{"properties":{"end_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"None when the trim runs to the end of the file.","title":"End Seconds"},"note":{"default":"Stream copy: cuts land on the nearest keyframe, so the start can be a little early.","title":"Note","type":"string"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"source_duration_seconds":{"title":"Source Duration Seconds","type":"number"},"start_seconds":{"title":"Start Seconds","type":"number"}},"required":["output_path","output_bytes","start_seconds","end_seconds","source_duration_seconds"],"title":"VideoTrim","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Make an animated GIF from part of a video (up to 30 seconds, palette-optimized). Writes one new file; never overwrites unless overwrite=true.","inputSchema":{"properties":{"duration":{"default":5.0,"exclusiveMinimum":0,"maximum":30,"title":"Duration","type":"number"},"fps":{"default":10,"maximum":30,"minimum":1,"title":"Fps","type":"integer"},"input_path":{"title":"Input Path","type":"string"},"output_path":{"title":"Output Path","type":"string"},"overwrite":{"default":false,"title":"Overwrite","type":"boolean"},"start":{"default":0.0,"minimum":0,"title":"Start","type":"number"},"width":{"default":480,"maximum":1280,"minimum":16,"title":"Width","type":"integer"}},"required":["input_path","output_path"],"title":"video_to_gifArguments","type":"object"},"name":"video_to_gif","outputSchema":{"properties":{"duration_seconds":{"title":"Duration Seconds","type":"number"},"fps":{"title":"Fps","type":"integer"},"output_bytes":{"title":"Output Bytes","type":"integer"},"output_path":{"title":"Output Path","type":"string"},"start_seconds":{"title":"Start Seconds","type":"number"},"width":{"title":"Width","type":"integer"}},"required":["output_path","output_bytes","start_seconds","duration_seconds","width","fps"],"title":"VideoGif","type":"object"}},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Extract the text from an image with OCR. Long text comes in parts: pass next_offset as offset to continue. lang overrides LATHE_OCR_LANG.","inputSchema":{"properties":{"input_path":{"title":"Input Path","type":"string"},"lang":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Lang"},"max_chars":{"default":20000,"maximum":200000,"minimum":1,"title":"Max Chars","type":"integer"},"offset":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},"required":["input_path"],"title":"ocr_imageArguments","type":"object"},"name":"ocr_image","outputSchema":{"properties":{"lang":{"title":"Lang","type":"string"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Pass as offset to read the next part. None at the end.","title":"Next Offset"},"offset":{"title":"Offset","type":"integer"},"returned_chars":{"title":"Returned Chars","type":"integer"},"text":{"title":"Text","type":"string"},"total_chars":{"title":"Total Chars","type":"integer"}},"required":["text","lang","total_chars","offset","returned_chars","next_offset"],"title":"OcrResult","type":"object"}},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Server status, version, working directory, and whether each external piece is installed.","inputSchema":{"properties":{},"title":"healthArguments","type":"object"},"name":"health","outputSchema":{"$defs":{"DependencyInfo":{"properties":{"available":{"title":"Available","type":"boolean"},"install":{"title":"Install","type":"string"},"kind":{"description":"python or binary","title":"Kind","type":"string"},"name":{"title":"Name","type":"string"}},"required":["kind","name","available","install"],"title":"DependencyInfo","type":"object"}},"properties":{"dependencies":{"items":{"$ref":"#/$defs/DependencyInfo"},"title":"Dependencies","type":"array"},"status":{"title":"Status","type":"string"},"version":{"title":"Version","type":"string"},"working_dir":{"title":"Working Dir","type":"string"}},"required":["status","version","working_dir","dependencies"],"title":"HealthResult","type":"object"}},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Which modules are on, which pieces are missing (with the install command), and what each tool does.\nPass a module name for its settings too.","inputSchema":{"properties":{"module":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Module"}},"title":"lathe_modulesArguments","type":"object"},"name":"lathe_modules","outputSchema":{"$defs":{"MissingDependency":{"properties":{"install":{"title":"Install","type":"string"},"kind":{"title":"Kind","type":"string"},"name":{"title":"Name","type":"string"}},"required":["kind","name","install"],"title":"MissingDependency","type":"object"},"ModuleInfo":{"properties":{"available":{"title":"Available","type":"boolean"},"enabled":{"title":"Enabled","type":"boolean"},"missing":{"items":{"$ref":"#/$defs/MissingDependency"},"title":"Missing","type":"array"},"name":{"title":"Name","type":"string"},"settings":{"anyOf":[{"items":{"$ref":"#/$defs/SettingInfo"},"type":"array"},{"type":"null"}],"default":null,"title":"Settings"},"summary":{"title":"Summary","type":"string"},"tools":{"items":{"$ref":"#/$defs/ToolInfo"},"title":"Tools","type":"array"}},"required":["name","summary","enabled","available","missing","tools"],"title":"ModuleInfo","type":"object"},"SettingInfo":{"properties":{"default":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default"},"env_var":{"title":"Env Var","type":"string"},"help":{"title":"Help","type":"string"},"set":{"title":"Set","type":"boolean"}},"required":["env_var","help","default","set"],"title":"SettingInfo","type":"object"},"SkillInfo":{"properties":{"description":{"title":"Description","type":"string"},"license":{"title":"License","type":"string"},"name":{"title":"Name","type":"string"}},"required":["name","description","license"],"title":"SkillInfo","type":"object"},"ToolInfo":{"properties":{"available":{"title":"Available","type":"boolean"},"description":{"title":"Description","type":"string"},"missing":{"items":{"$ref":"#/$defs/MissingDependency"},"title":"Missing","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name","description","available","missing"],"title":"ToolInfo","type":"object"}},"properties":{"config_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Error"},"config_file":{"title":"Config File","type":"string"},"homepage":{"default":"https://github.com/seayniclabs/lathe","title":"Homepage","type":"string"},"modules":{"items":{"$ref":"#/$defs/ModuleInfo"},"title":"Modules","type":"array"},"publisher":{"default":"Seaynic Labs","title":"Publisher","type":"string"},"skills":{"items":{"$ref":"#/$defs/SkillInfo"},"title":"Skills","type":"array"},"version":{"title":"Version","type":"string"},"working_dir":{"title":"Working Dir","type":"string"}},"required":["version","working_dir","config_file","config_error","modules","skills"],"title":"ModulesResult","type":"object"}}]}}}
