[{"data":1,"prerenderedAt":428},["ShallowReactive",2],{"doc-seo-\u002Fdocs\u002Ftools":3,"content-query-EouoUIsLwh":6},{"title":4,"description":5},"Tools Overview","How Strata's five MCP tools work together in a typical AI coding workflow.",{"_path":7,"_dir":8,"_draft":9,"_partial":9,"_locale":10,"title":4,"description":5,"badge":11,"body":12,"_type":422,"_id":423,"_source":424,"_file":425,"_stem":426,"_extension":427},"\u002Fdocs\u002Ftools","docs",false,"","MCP Tools",{"type":13,"children":14,"toc":416},"root",[15,31,130,137,296,302,307],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29],{"type":21,"value":22},"text","Strata exposes ",{"type":16,"tag":24,"props":25,"children":26},"strong",{},[27],{"type":21,"value":28},"5 MCP tools",{"type":21,"value":30},". They are designed to be used in a simple, predictable order so AI agents only read the code they actually need:",{"type":16,"tag":32,"props":33,"children":34},"ol",{},[35,55,72,97],{"type":16,"tag":36,"props":37,"children":38},"li",{},[39,53],{"type":16,"tag":24,"props":40,"children":41},{},[42,44,51],{"type":21,"value":43},"Orient first (",{"type":16,"tag":45,"props":46,"children":48},"code",{"className":47},[],[49],{"type":21,"value":50},"map_workspace",{"type":21,"value":52},")",{"type":21,"value":54}," — see packages, frameworks, routes, or file lists without reading file contents.",{"type":16,"tag":36,"props":56,"children":57},{},[58,70],{"type":16,"tag":24,"props":59,"children":60},{},[61,63,69],{"type":21,"value":62},"Inspect interfaces (",{"type":16,"tag":45,"props":64,"children":66},{"className":65},[],[67],{"type":21,"value":68},"inspect_file",{"type":21,"value":52},{"type":21,"value":71}," — read a file's symbol outline, TypeScript-resolved props\u002Femits\u002Fslots, and outbound API calls without reading the full implementation.",{"type":16,"tag":36,"props":73,"children":74},{},[75,95],{"type":16,"tag":24,"props":76,"children":77},{},[78,80,86,88,94],{"type":21,"value":79},"Trace relationships (",{"type":16,"tag":45,"props":81,"children":83},{"className":82},[],[84],{"type":21,"value":85},"query_graph",{"type":21,"value":87},") or find usages (",{"type":16,"tag":45,"props":89,"children":91},{"className":90},[],[92],{"type":21,"value":93},"search_code",{"type":21,"value":52},{"type":21,"value":96}," — check definitions, references, component trees, state flow, or refactor impact across packages.",{"type":16,"tag":36,"props":98,"children":99},{},[100,112,114,120,122,128],{"type":16,"tag":24,"props":101,"children":102},{},[103,105,111],{"type":21,"value":104},"Read exact code (",{"type":16,"tag":45,"props":106,"children":108},{"className":107},[],[109],{"type":21,"value":110},"read_slice",{"type":21,"value":52},{"type":21,"value":113}," — fetch only the specific symbol body, SFC block, or line range using the ",{"type":16,"tag":45,"props":115,"children":117},{"className":116},[],[118],{"type":21,"value":119},"sourceRef",{"type":21,"value":121}," or ",{"type":16,"tag":45,"props":123,"children":125},{"className":124},[],[126],{"type":21,"value":127},"symbolId",{"type":21,"value":129}," returned by earlier tools.",{"type":16,"tag":131,"props":132,"children":134},"h2",{"id":133},"tool-summary",[135],{"type":21,"value":136},"Tool Summary",{"type":16,"tag":138,"props":139,"children":140},"table",{},[141,166],{"type":16,"tag":142,"props":143,"children":144},"thead",{},[145],{"type":16,"tag":146,"props":147,"children":148},"tr",{},[149,156,161],{"type":16,"tag":150,"props":151,"children":153},"th",{"align":152},"left",[154],{"type":21,"value":155},"Tool",{"type":16,"tag":150,"props":157,"children":158},{"align":152},[159],{"type":21,"value":160},"Primary Purpose",{"type":16,"tag":150,"props":162,"children":163},{"align":152},[164],{"type":21,"value":165},"Backing Engine",{"type":16,"tag":167,"props":168,"children":169},"tbody",{},[170,197,222,246,271],{"type":16,"tag":146,"props":171,"children":172},{},[173,187,192],{"type":16,"tag":174,"props":175,"children":176},"td",{"align":152},[177],{"type":16,"tag":178,"props":179,"children":181},"a",{"href":180},"\u002Fdocs\u002Ftools\u002Fmap-workspace",[182],{"type":16,"tag":45,"props":183,"children":185},{"className":184},[],[186],{"type":21,"value":50},{"type":16,"tag":174,"props":188,"children":189},{"align":152},[190],{"type":21,"value":191},"Packages, frameworks, routes, file lists, unused component candidates",{"type":16,"tag":174,"props":193,"children":194},{"align":152},[195],{"type":21,"value":196},"SQLite index",{"type":16,"tag":146,"props":198,"children":199},{},[200,212,217],{"type":16,"tag":174,"props":201,"children":202},{"align":152},[203],{"type":16,"tag":178,"props":204,"children":206},{"href":205},"\u002Fdocs\u002Ftools\u002Finspect-file",[207],{"type":16,"tag":45,"props":208,"children":210},{"className":209},[],[211],{"type":21,"value":68},{"type":16,"tag":174,"props":213,"children":214},{"align":152},[215],{"type":21,"value":216},"Symbol outline, props\u002Femits\u002Fmodels\u002Fslots, rendered children, HTTP calls",{"type":16,"tag":174,"props":218,"children":219},{"align":152},[220],{"type":21,"value":221},"SQLite index + TypeScript Language Service",{"type":16,"tag":146,"props":223,"children":224},{},[225,237,242],{"type":16,"tag":174,"props":226,"children":227},{"align":152},[228],{"type":16,"tag":178,"props":229,"children":231},{"href":230},"\u002Fdocs\u002Ftools\u002Fquery-graph",[232],{"type":16,"tag":45,"props":233,"children":235},{"className":234},[],[236],{"type":21,"value":85},{"type":16,"tag":174,"props":238,"children":239},{"align":152},[240],{"type":21,"value":241},"Definitions, references, call hierarchy, component tree, state flow, impact",{"type":16,"tag":174,"props":243,"children":244},{"align":152},[245],{"type":21,"value":221},{"type":16,"tag":146,"props":247,"children":248},{},[249,261,266],{"type":16,"tag":174,"props":250,"children":251},{"align":152},[252],{"type":16,"tag":178,"props":253,"children":255},{"href":254},"\u002Fdocs\u002Ftools\u002Fread-slice",[256],{"type":16,"tag":45,"props":257,"children":259},{"className":258},[],[260],{"type":21,"value":110},{"type":16,"tag":174,"props":262,"children":263},{"align":152},[264],{"type":21,"value":265},"Bounded, hash-verified source slices",{"type":16,"tag":174,"props":267,"children":268},{"align":152},[269],{"type":21,"value":270},"Direct disk read + SHA-256 check",{"type":16,"tag":146,"props":272,"children":273},{},[274,286,291],{"type":16,"tag":174,"props":275,"children":276},{"align":152},[277],{"type":16,"tag":178,"props":278,"children":280},{"href":279},"\u002Fdocs\u002Ftools\u002Fsearch-code",[281],{"type":16,"tag":45,"props":282,"children":284},{"className":283},[],[285],{"type":21,"value":93},{"type":16,"tag":174,"props":287,"children":288},{"align":152},[289],{"type":21,"value":290},"Symbol search (FTS5), component usage, prop usage, literal text",{"type":16,"tag":174,"props":292,"children":293},{"align":152},[294],{"type":21,"value":295},"SQLite FTS5 + in-process scanner",{"type":16,"tag":131,"props":297,"children":299},{"id":298},"common-response-options",[300],{"type":21,"value":301},"Common Response Options",{"type":16,"tag":17,"props":303,"children":304},{},[305],{"type":21,"value":306},"All tools share the same conventions:",{"type":16,"tag":308,"props":309,"children":310},"ul",{},[311,341,379],{"type":16,"tag":36,"props":312,"children":313},{},[314,323,325,331,333,339],{"type":16,"tag":24,"props":315,"children":316},{},[317],{"type":16,"tag":45,"props":318,"children":320},{"className":319},[],[321],{"type":21,"value":322},"format",{"type":21,"value":324},": Defaults to ",{"type":16,"tag":45,"props":326,"children":328},{"className":327},[],[329],{"type":21,"value":330},"\"text\"",{"type":21,"value":332}," (compact, token-friendly output). Pass ",{"type":16,"tag":45,"props":334,"children":336},{"className":335},[],[337],{"type":21,"value":338},"\"json\"",{"type":21,"value":340}," when you need structured fields.",{"type":16,"tag":36,"props":342,"children":343},{},[344,361,363,369,371,377],{"type":16,"tag":24,"props":345,"children":346},{},[347,353,355],{"type":16,"tag":45,"props":348,"children":350},{"className":349},[],[351],{"type":21,"value":352},"limit",{"type":21,"value":354}," & ",{"type":16,"tag":45,"props":356,"children":358},{"className":357},[],[359],{"type":21,"value":360},"cursor",{"type":21,"value":362},": Paginated tools return ",{"type":16,"tag":45,"props":364,"children":366},{"className":365},[],[367],{"type":21,"value":368},"nextCursor",{"type":21,"value":370}," (",{"type":16,"tag":45,"props":372,"children":374},{"className":373},[],[375],{"type":21,"value":376},"o_\u003Coffset>",{"type":21,"value":378},") when more items are available.",{"type":16,"tag":36,"props":380,"children":381},{},[382,391,392,398,400,406,408,414],{"type":16,"tag":24,"props":383,"children":384},{},[385],{"type":16,"tag":45,"props":386,"children":388},{"className":387},[],[389],{"type":21,"value":390},"max_bytes",{"type":21,"value":324},{"type":16,"tag":45,"props":393,"children":395},{"className":394},[],[396],{"type":21,"value":397},"16384",{"type":21,"value":399}," UTF-8 bytes so a single tool call never floods the prompt. If a response exceeds the limit, Strata returns ",{"type":16,"tag":45,"props":401,"children":403},{"className":402},[],[404],{"type":21,"value":405},"BUDGET_RESPONSE_TOO_LARGE",{"type":21,"value":407}," with a suggested ",{"type":16,"tag":45,"props":409,"children":411},{"className":410},[],[412],{"type":21,"value":413},"retryMaxBytes",{"type":21,"value":415}," or narrowing filter.",{"title":10,"searchDepth":417,"depth":417,"links":418},3,[419,421],{"id":133,"depth":420,"text":136},2,{"id":298,"depth":420,"text":301},"markdown","content:docs:tools:index.md","content","docs\u002Ftools\u002Findex.md","docs\u002Ftools\u002Findex","md",1795576105520]