[{"data":1,"prerenderedAt":189},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-features\u002Fdocuments-images-and-web":3},{"id":4,"title":5,"body":6,"description":181,"extension":182,"meta":183,"navigation":184,"path":185,"seo":186,"stem":187,"__hash__":188},"docs\u002Fdocs\u002Fcore-features\u002Fdocuments-images-and-web.md","Documents, Images & Web",{"type":7,"value":8,"toc":169},"minimark",[9,13,17,22,25,80,83,88,91,94,109,113,120,123,126,142,145,149,152,156,159,162,166],[10,11,5],"h1",{"id":12},"documents-images-web",[14,15,16],"p",{},"TheGitAI can bring specifications, spreadsheets, screenshots, diagrams, and\ncurrent public information into the same session as your source code.",[18,19,21],"h2",{"id":20},"documents","Documents",[14,23,24],{},"The structured document reader supports:",[26,27,28,44],"table",{},[29,30,31],"thead",{},[32,33,34,38,41],"tr",{},[35,36,37],"th",{},"Format",[35,39,40],{},"Read",[35,42,43],{},"Edit",[45,46,47,59,69],"tbody",{},[32,48,49,53,56],{},[50,51,52],"td",{},"PDF",[50,54,55],{},"Yes, with bounded page ranges",[50,57,58],{},"No",[32,60,61,64,67],{},[50,62,63],{},"XLSX",[50,65,66],{},"Yes, including workbook sheets",[50,68,58],{},[32,70,71,74,77],{},[50,72,73],{},"DOCX",[50,75,76],{},"Yes, with bounded paragraph ranges",[50,78,79],{},"Yes, visible text replacement",[14,81,82],{},"Normal source, text, Markdown, JSON, YAML, and configuration files use the\nregular file tools rather than the document reader.",[84,85,87],"h3",{"id":86},"editing-word-documents","Editing Word documents",[14,89,90],{},"DOCX editing replaces visible text while preserving the document package. It\ncan match text in paragraphs and tables, apply several replacements in one\noperation, and write either to the original path or a separate output path.",[14,92,93],{},"Before writing, the agent can validate the requested matches without changing\nthe file. The terminal shows a preview for approval, and the result reports each\nreplacement so partial matches can be corrected precisely. DOCX writes are also\ncaptured by the assistant edit journal and checkpoint system.",[95,96,97],"tip",{},[14,98,99,100,104,105,108],{},"Tell the agent exactly which document to use: “Read ",[101,102,103],"code",{},"requirements.pdf",", compare\nit with the current API, and update ",[101,106,107],{},"implementation-plan.docx"," where the old\nendpoint names appear.”",[18,110,112],{"id":111},"images-and-screenshots","Images and screenshots",[14,114,115,116,119],{},"Attach an image by pasting it from the clipboard or by typing its path in the\nprompt. Paths with spaces may be quoted. The terminal replaces detected image\npaths with stable markers such as ",[101,117,118],{},"[Image #1]"," so you can refer to each image\nunambiguously.",[14,121,122],{},"Supported formats are PNG, JPEG, GIF, and WebP. A message can contain up to two\nimages, with a 10 MB limit per image.",[14,124,125],{},"Vision-capable models receive the image with your prompt. TheGitAI can use images\nto:",[127,128,129,133,136,139],"ul",{},[130,131,132],"li",{},"Inspect a UI screenshot or error dialog.",[130,134,135],{},"Read visible labels, controls, and layout.",[130,137,138],{},"Compare an implementation with a reference image.",[130,140,141],{},"Understand diagrams and other visual task context.",[14,143,144],{},"The exact clipboard shortcut is shown in the terminal footer for your platform.\nOn systems where clipboard image access needs a helper, the terminal explains\nwhich local utility to install.",[18,146,148],{"id":147},"web-search","Web search",[14,150,151],{},"The agent can search the public web when a task needs current or external\ninformation. Search results include titles, URLs, and snippets. Independent\nsearches may run in parallel with other read-only research.",[18,153,155],{"id":154},"web-fetch","Web fetch",[14,157,158],{},"The fetch tool retrieves one public HTTP or HTTPS URL and converts the useful\npage content to Markdown. It reports coverage, visible inventories or listings,\nand truncation details rather than silently pretending a partial extraction was\ncomplete. Large pages include continuation information so the agent can read the\nnext bounded section.",[14,160,161],{},"For safety, the managed fetch tool rejects localhost, private IP ranges, and\ninternal network destinations. When the task is explicitly about a local dev\nserver, the agent uses an approved local shell command instead.",[18,163,165],{"id":164},"source-quality-still-matters","Source quality still matters",[14,167,168],{},"Web results and extracted document text are evidence, not guaranteed truth. Ask\nthe agent to compare multiple sources, inspect the primary documentation, or\nstate what remains uncertain when accuracy is important.",{"title":170,"searchDepth":171,"depth":171,"links":172},"",2,[173,177,178,179,180],{"id":20,"depth":171,"text":21,"children":174},[175],{"id":86,"depth":176,"text":87},3,{"id":111,"depth":171,"text":112},{"id":147,"depth":171,"text":148},{"id":154,"depth":171,"text":155},{"id":164,"depth":171,"text":165},"Give an AI coding assistant more than code: read PDF, XLSX, and DOCX files, paste screenshots, search the web, and pull live pages in as task context.","md",{},true,"\u002Fdocs\u002Fcore-features\u002Fdocuments-images-and-web",{"title":5,"description":181},"docs\u002Fcore-features\u002Fdocuments-images-and-web","-hr6ZOcpeB6b7oGyMExZJKK88gIr8hnXod_PEc2gOmk",1784980638911]