{"name":"com.symvanta/code-graph","slug":"symvanta-code-graph","title":"Symvanta","description":"Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.","url":"https://mcp.market/server/symvanta-code-graph","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":23,"stars":0,"forks":0,"downloads_week":null,"last_push_at":"2026-09-12T19:10:53.000Z","license":null},"uptime":{"percent":100,"checks":7,"ok":7,"last_checked_at":"2026-09-21T02:40:57.280Z","last_ok_at":"2026-09-21T02:40:57.280Z","latency_ms":132},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/Symvanta/claude-plugin","website":"https://symvanta.com","version":"1.1.0","remotes":[{"type":"streamable-http","url":"https://mcp.symvanta.com/mcp"}],"packages":[],"tools":[{"name":"add_repository","description":"Attach a GitHub repository to a project (owner + repo_name; clone URL derived; projectId defaults to the bound / default project). Public repos need nothing else. Private repos need installation_id from list_installations (a GitHub App installation that covers the repo) or a workspace PAT saved on the dashboard; without either the attach is refused (private_repository_needs_credential) instead of failing on the queued clone. Idempotent. First attach dispatches an indexing job; response carries visibility, credential (\"installation\" | \"pat\" | null), indexing_status (\"queued\" | \"already_indexed\") and indexing_job_id to poll. Needs mcp:admin.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"owner":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9\\-_.]+$","description":"GitHub owner (user or org)"},"repo_name":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9\\-_.]+$","description":"Repository name"},"default_branch":{"description":"Default branch (default main)","type":"string","minLength":1,"maxLength":255},"installation_id":{"description":"Private repository: id of a GitHub App installation from list_installations that covers it. Refused (installation_lacks_repository) when the installation does not grant access.","type":"string","minLength":1,"maxLength":64},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["owner","repo_name"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"adr","description":"Architecture decision records: the WHY behind code, anchored to a symbol/file/project. Survive reindexes; find_node attaches a node's decisions. Ops:\n- record: needs title+decision. Anchor with repository+symbolPath or +filePath; omit both for project-wide. Optional context, consequences, status.\n- list: records for a project, filter by repository/symbolPath/filePath/status.\n- update: needs id; status:\"superseded\"+supersededById, or \"deprecated\".","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"op":{"type":"string","enum":["record","list","update"],"description":"record: create a decision record. list: read records. update: amend or supersede one."},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"title":{"description":"record: short imperative title, e.g. \"No pgvector\".","type":"string","minLength":3,"maxLength":200},"decision":{"description":"record: what was decided.","type":"string","minLength":3,"maxLength":20000},"context":{"description":"Why (constraints, alternatives rejected).","type":"string","maxLength":20000},"consequences":{"description":"Trade-offs accepted.","type":"string","maxLength":20000},"status":{"description":"record/update: lifecycle status.","type":"string","enum":["proposed","accepted","superseded","deprecated"]},"symbolPath":{"description":"Anchor: symbolPath as find_node / locate returns.","type":"string","minLength":1,"maxLength":2000},"filePath":{"description":"Anchor: repo-relative file path.","type":"string","minLength":1,"maxLength":2000},"id":{"description":"update: record id (from adr list or find_node decisions).","type":"integer","minimum":1,"maximum":9007199254740991},"supersededById":{"description":"update: id of the replacement record.","type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"description":"list: max records (default 20).","type":"integer","minimum":1,"maximum":100},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["op"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"ask_codebase","description":"Synthesis Q&A for behavior/architecture questions: answer + citations in one call. HEAVY (~2-4 s, ~3-5 k tokens): prefer context, find_node, or locate when they suffice. scope:\"repo\" (default) = ONE repo; scope:\"all\" = cross-repo (repositoryIds narrows, omit spans all; rejects repository). If sufficient_to_answer=true, answer without further tool calls. commitSha pins a revision.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"query":{"description":"Alias of question.","type":"string","minLength":1},"question":{"description":"The behavior question, e.g. \"how does X work\".","type":"string","minLength":1},"scope":{"description":"repo (default) = single-repo. all = cross-repo; repositoryIds narrows, omit spans all.","default":"repo","type":"string","enum":["repo","all"]},"repositoryIds":{"description":"scope:all only. Restrict to these encoded repository ids.","minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"description":"Encoded repository id from list_repositories."}},"limit":{"description":"Max candidate symbols fed to synthesis (default 10, max 30).","default":10,"type":"integer","minimum":1,"maximum":30},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"bundle","description":"Run up to 10 independent tool calls in parallel in one round-trip. Calls share the bundle-level project/repository scope unless a call sets its own args.repository, which scopes that call alone. Supported: locate (args.mode text|symbol|semantic|file|config, not codebase), relate (kind:callers only), find_node, list_file_symbols, find_http_route. Returns results in input order; unsupported tool names return {error}.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"calls":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"tool":{"type":"string","minLength":1,"description":"Tool name to call"},"args":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Arguments for the call"}},"required":["tool","args"]},"description":"Calls to run in parallel; each uses the bundle's project/repository scope unless its args.repository names another one."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["calls"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"context","description":"First-touch task orientation. Pass a natural-language task; returns the top 5 relevant files with their symbols and best-matching snippets in one call (~1-1.5k tokens, ~500 ms, no LLM). Replaces chaining locate (text) + locate (semantic) + list_file_symbols. Known symbol: find_node/locate. Synthesized explanation: ask_codebase.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"task":{"type":"string","minLength":3,"maxLength":1024,"description":"Natural-language task. Returns ranked files with symbols and matching snippets, no LLM call."},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["task"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"create_project","description":"Create a project in the workspace (name; slug derived and made unique). Needs mcp:admin; plan project caps apply (plan_limit_exceeded). Then attach repositories with add_repository { projectId, owner, repo_name } and bind the session with ref op:\"use_project\" (or init with the checkout's repository once attached).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"Project name. The slug is derived from it and made unique within the workspace."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["name"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"diff_impact","description":"Impact of a diff between two indexed revisions of one repo (base..head): changed files + symbols, union blast radius (layers + cross-repo fallout), affected endpoints, test suites, and co-change reminders. Replaces per-symbol relate (kind:blast_radius) loops before merging. Defaults: head = session's effective revision, base = previous indexed. For UNCOMMITTED edits, run ref (op:\"index_working_tree\"), then call with no shas.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"base":{"description":"Base revision (7-40 hex). Omit for the previous indexed.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"head":{"description":"Head revision (7-40 hex). Omit for the session's effective revision.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"includeCrossRepo":{"description":"Include cross-repo fallout (default true).","type":"boolean"},"expansionLimit":{"description":"Cap on impacted nodes (default 25); totals always reported.","type":"integer","minimum":1,"maximum":100},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"estimate_scope","description":"Pre-flight estimate before graph traversal: coarse count of files a task likely touches and whether it spans layers (common/browser/node/electron-main/...) or repositories. Decides single-file edit vs consulting the graph. Heuristic, from symbol-name + text matches.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"description":{"type":"string","minLength":3,"maxLength":2000,"description":"Natural-language description of the intended change."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["description"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"find_http_route","description":"Resolve an HTTP route by path + optional method to endpoint + handler (filePath + line bounds). Use instead of grep/locate for URL paths: follows framework router metadata (Express, Fastify, Hono, Laravel, FastAPI, etc.) and resolves dynamic segments, prefix groups, and middleware-mounted routers text search misses.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"path":{"type":"string","minLength":1,"description":"Route path, e.g. \"/api/users/:id\". Partial paths match."},"method":{"description":"HTTP method filter, e.g. GET or POST.","type":"string","minLength":1},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["path"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"find_node","description":"Resolve 1-10 symbols to filePath + line bounds + signature. selectors: array keyed by symbol (bare name) / symbolPath / filePath / nodeId; a flat query/name/single field also works. includeSource=true adds the excerpt, includeSummaries=true AI summaries. A node from a SCIP-indexed package also carries scip_package_name (and scip_package_version / scip_manager when known). For a class/interface/struct/protocol it carries a compact heritage field (<=5 ancestors, <=20 descendants, omitted when empty); includeHeritage:false skips it, includeCrossRepo:true walks cross-repo heritage. {resolved:false, candidates} = no confident match.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"selectors":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"nodeId":{"description":"Graph node id from a prior result.","type":"string","minLength":1},"symbol":{"description":"Symbol name, e.g. a function or class name.","type":"string","minLength":1},"symbolPath":{"description":"Full symbolPath as find_node/locate returns.","type":"string","minLength":1},"filePath":{"description":"Repo-relative file path holding the symbol.","type":"string","minLength":1}}},"description":"Symbols to resolve (1-10), each by nodeId, symbol, symbolPath, or filePath."},"limit":{"default":5,"description":"Max results (default 5, max 20).","type":"integer","minimum":1,"maximum":20},"includeSummaries":{"description":"Attach generated summaries when available.","default":false,"type":"boolean"},"includeSource":{"description":"Attach source for resolved nodes.","default":false,"type":"boolean"},"sourceMode":{"description":"With includeSource: \"signature\" returns the declaration only.","type":"string","enum":["none","signature"]},"expansionLimit":{"default":15,"description":"Cap on expanded related nodes (default 15, max 100).","type":"integer","minimum":1,"maximum":100},"includeHeritage":{"description":"Default true. Include a compact heritage field for a class/interface/struct/protocol. false skips it on bulk scans.","default":true,"type":"boolean"},"includeCrossRepo":{"description":"With includeHeritage on, walk cross-repo heritage edges. No-op when includeHeritage is off.","default":false,"type":"boolean"},"includeCommunity":{"description":"Attach the symbol's Louvain module (community name). Off by default (extra edge lookup).","default":false,"type":"boolean"},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["selectors"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"freshness","description":"Returns lastIndexedSha, lastIndexedAt, and the current remote HEAD sha for a repository: detect index drift from remote. Reports what Symvanta knows, not local git. currentRemoteSha is null when no GitHub credential is configured. Echoes the active ref pin (pinnedBranch, pinnedSha).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"history","description":"Indexed commit history. Ops:\n- commits: recent commits (metadata + file list); <=200/call, default 50. With a clone prefer git log.\n- commit: one commit by sha with its diff summary (added/modified/deleted/renamed); null if outside the indexed window.\n- recently_changed: files ranked by change frequency in the indexed window (\"what's hot\").","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"op":{"type":"string","enum":["commits","commit","recently_changed"],"description":"commits: recent commits (metadata + file list). commit: one commit in detail. recently_changed: most-changed files over the window."},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"sha":{"description":"op:commit. The commit to read (7-64 hex).","type":"string","pattern":"^[0-9a-fA-F]{7,64}$"},"since":{"description":"ISO datetime lower bound.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"until":{"description":"ISO datetime upper bound.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"author":{"description":"Filter by author name or email substring.","type":"string"},"path":{"description":"Restrict to commits touching this repo-relative path.","type":"string"},"limit":{"description":"Max rows (default 50, max 200).","type":"integer","minimum":1,"maximum":200},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["op"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"index_health","description":"Per-project index health. pendingLibraryVersions: cross-repo specifiers still indexing (an empty result may mean \"not indexed yet\", not \"not in code\"); call when a query is surprisingly empty. A row with status \"skipped\" is never going to arrive (a dev or optional dependency, which the catalog does not index) and status \"failed\" means discovery found no source, so only \"indexing\" is worth waiting on. architecture: per-repo Louvain module count + modularity Q (low Q = tangled), plus circular-dependency and mutually-recursive-symbol counts (inspect via map view:\"architecture\"). versionDrift: joined cross-repo SCIP edges whose consumer-pinned package version differs from the sibling's current version (package, pinned vs current, edge count). externalsCoverage: per-repo count of external references joined onto a sibling definition vs left as materialized stubs. unindexableRepositories: repos whose last index produced no graph and left a status (no_default_branch = the remote has no resolvable default branch, e.g. an empty repo; awaiting_upload = an upload-provider repo with no zip yet; remote_head_unresolvable = the remote could not be reached to resolve its head, so this is a network or credential problem, not a repository one), with the worker's log line as indexStatusDetail; explains a silently-empty repo. degradedRepositories: repos that DID index but lost a derived artifact (community_detection_skipped = Louvain clustering did not run, so map view:\"architecture\" has no modules; raise COMMUNITY_EDGE_CEILING or set COMMUNITY_DETECTION=true, then reindex). Both carry a human-readable reason.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"init","description":"Call first, with repository:\"owner/name\" (your checkout's GitHub remote). Binds the session to the project holding that repository and returns it as the active project with its repositories, index health, and a `usage` field (decision matrix + routing). workspace.attached=false means the checkout is NOT indexed: nothing in the answer describes it; attach it (add_repository, create_project) or work without the graph, do not route through the projects listed. Without repository: the pinned project (ref op:\"use_project\") or the workspace default.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"repository":{"description":"The checkout's GitHub remote as \"owner/name\" (a clone URL is accepted). Binds the session to the project holding it; workspace.attached=false means it is not indexed.","type":"string","minLength":1,"maxLength":512},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"library","description":"Library catalog lookups. Ops:\n- packages: list indexed npm packages (specifier, ecosystem, owner/name, indexed-at, sha). Tenant-scoped, no projectId.\n- version: one package's resolved version for a project (sha, version, dep type, indexed-at, status indexed|indexing|failed|not_found). \"indexing\" means a job for that revision is in flight, so retrying later converges; \"failed\" carries a reason and does not change on its own.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"op":{"type":"string","enum":["packages","version"],"description":"packages: list indexed packages. version: resolve one specifier's indexed version."},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"specifier":{"description":"op:version. Package specifier, e.g. \"react\".","type":"string","minLength":1,"maxLength":255},"limit":{"default":50,"description":"op:packages. Max rows (default 50, max 200).","type":"integer","minimum":1,"maximum":200},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["op"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_file_symbols","description":"List symbols in one file (name + kind + line bounds). Step 1 of the two-step read: get line bounds, then pass startLine/endLine to source (op:read) for that slice only (~4-15x fewer tokens). For one symbol + signature, use find_node {symbol, filePath}.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"filePath":{"type":"string","minLength":1,"description":"Repo-relative file path to list symbols for."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["filePath"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_installations","description":"GitHub App installations connected to this workspace and the repositories each can reach (private included). Use before add_repository for a private repository: pass the installation's id as installation_id. pat_configured says whether a workspace PAT exists as the fallback credential. Empty = connect the GitHub App on the dashboard (Project > Repositories). An installation whose GitHub call failed carries error and an empty list.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_projects","description":"List all projects with indexing summaries. Find a project by name or check which exist.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_repositories","description":"List repositories in a project. Find repository names to scope a query to one repo.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_tests_for","description":"Test suites and cases whose suite name matches a symbol name (case-insensitive substring). Call before adding tests to see existing coverage and mirror its shape.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"selector":{"type":"string","minLength":1,"description":"Symbol name to match against test suite names."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["selector"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"locate","description":"Search/lookup. Pick a mode, or omit with a bare query to AUTO-ROUTE (text, then semantic on empty; response carries answered_by). Modes:\n- text (replaces grep): literal identifier/string, one row/occurrence. queries:[...] (<=10 terms) searches several in one call (and implies this mode when mode is omitted). pathsOnly:true = \"filePath:lineNumber\" only (~5x cheaper). maxPerFile caps rows/file (default 5). Empty carries did_you_mean; do NOT retry reworded, use semantic.\n- symbol: symbols by name/symbolPath in one repo. kind filters node kind, layer one layer. Tests last unless includeTests:true.\n- semantic: vector search for symbols similar to a natural-language query (names unknown).\n- file: fuzzy filename search (basename); filenames only.\n- config (replaces grep for env/config keys): key/env-var usages with nearest-symbol context; queries:[...] batches several keys.\n- codebase: cross-repo candidate scan; narrow with repositoryIds.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"mode":{"description":"Force a mode. Omit + bare query = AUTO-ROUTE (text, then semantic on empty). queries without a mode implies text.","type":"string","enum":["text","symbol","semantic","file","config","codebase"]},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"description":"Single-repo scope (not codebase; that is project-wide, use repositoryIds).","type":"string","minLength":1},"commitSha":{"description":"Pin an indexed revision (text/symbol/semantic/config; ignored by file/codebase).","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"query":{"description":"Search term or NL query. Required for symbol/semantic/codebase; text/config: query or queries; file: query or name.","type":"string","minLength":1},"queries":{"description":"text/config. Up to 10 terms; interleaved, deduped, each tagged matchedQuery. Without an explicit mode, implies mode:text. Accepts a JSON-array string.","minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1}},"name":{"description":"mode:file. Filename fragment; defaults to query.","type":"string","minLength":1},"kind":{"description":"mode:symbol. Filter by node kind.","type":"string","enum":["module","class","function","interface","endpoint","schema","struct","enum","protocol","actor","extension","initializer","property","package","product","target","project","workspace","test_suite","test_case","test_hook","community","cycle","resource"]},"layer":{"description":"mode:symbol. Scope to one layer (e.g. browser, node, common, test).","type":"string","minLength":1,"maxLength":32},"pathPrefix":{"description":"text/symbol/config. Restrict to paths under this prefix.","type":"string","minLength":1},"pathsOnly":{"description":"mode:text. \"filePath:lineNumber\" only, no snippets (~5x fewer tokens).","type":"boolean"},"includeTests":{"description":"text/symbol/semantic. Include test files. Default false ranks them last; auto-on for test queries.","default":false,"type":"boolean"},"maxPerFile":{"description":"mode:text. Cap occurrences/file (default 5; capped file carries moreInFileTruncated). 0 = uncapped.","default":5,"type":"integer","minimum":0,"maximum":1000},"repositoryIds":{"description":"mode:codebase. Narrow to these repository ids; omit to scan all.","minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"description":"Encoded repository id from list_repositories."}},"limit":{"description":"Max results. Per-mode caps apply (text 200/20, symbol 20, semantic 5, file 10, config 20/20, codebase 20/10).","default":20,"type":"integer","minimum":1,"maximum":200},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"map","description":"Token-efficient repo (or subtree) skeleton: directory tree with each file's classes (methods in parens), functions, and HTTP endpoints, from the graph. Orient before drilling in. Scope with \"path\", cap with \"maxDepth\", density:\"full\" adds properties. view:\"architecture\" instead returns a module map (Louvain clusters with hubs, paths and cross-module coupling), plus namedModules/totalModules: a module NAME comes from a generated summary and is provisional, its id (the member-set hash in the header) is the stable key, so pin modules by id and re-read names rather than caching them.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"path":{"description":"Repo-relative subtree (e.g. \"src/v1/mcp\"). Omit for the whole repo.","type":"string","minLength":1},"maxDepth":{"description":"Drop files deeper than this many path segments. Omit for no cap.","type":"integer","minimum":1,"maximum":9007199254740991},"density":{"description":"\"compact\" (default): classes/methods/functions/endpoints. \"full\" adds properties.","type":"string","enum":["compact","full"]},"view":{"description":"\"tree\" (default): file/symbol skeleton. \"architecture\": module map with hubs, coupling, cycles. Module names come from generated summaries: cite a module by its id (the member-set hash printed in the header), which is stable across calls and reindexes.","type":"string","enum":["tree","architecture"]},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"quick_lookup","description":"Fast substring lookup of symbol DEFINITIONS by name: rows {name, kind, filePath, startLine, repositoryName} (displayName only when distinct from name), no ranking, no semantic. Cheaper alternative to locate (mode:symbol) for latency-sensitive pre-fetch (grep-augment hook); interactive search should prefer locate/find_node. Reads the latest indexed revision, no ref pin.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"Substring to match against symbol names (no ranking)."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"limit":{"description":"Max results (max 20).","type":"integer","minimum":1,"maximum":20},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["query"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"ref","description":"Session-scoped branch / working-tree overlay / project binding. Ops:\n- use: pin a repository's reads to a branch (latest indexed revision). Branch must be tracked+indexed (open a PR, or add on the dashboard); else \"indexing_in_progress\". commitSha overrides.\n- clear: remove the pin, revert to default.\n- index_working_tree: overlay UNCOMMITTED edits (changedFiles path+content, optional deletedPaths/baseSha) on a short-lived synthetic revision pinned here; find_node/locate/relate reflect them, source and locate mode:semantic do NOT. Cap 100 files/256KB.\n- use_project: bind this session to projectId (from init.otherProjects / list_projects / create_project) so calls without projectId resolve there. init with repository:\"owner/name\" sets the same binding from the checkout's remote.\n- clear_project: drop the binding, back to the workspace default project.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"op":{"type":"string","enum":["use","clear","index_working_tree","use_project","clear_project"],"description":"use: pin reads to a tracked branch. clear: revert to the default branch. index_working_tree: overlay uncommitted edits on a synthetic revision and pin it. use_project: bind this session to projectId so calls without projectId resolve there. clear_project: revert to the workspace default project."},"branch":{"description":"op:use. The tracked branch to pin.","type":"string","minLength":1,"maxLength":255},"changedFiles":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":1024,"description":"Repo-relative file path."},"content":{"type":"string","maxLength":262144,"description":"Full current file content."}},"required":["path","content"]},"description":"Changed/added files with current contents, repo-relative paths."},"baseSha":{"description":"Indexed base your edits sit on. Omit for the default-branch tip.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"deletedPaths":{"description":"Repo-relative deleted paths.","maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024}},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["op"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"reindex_repository","description":"Dispatch a reindex job for an already-attached repository (repositoryId from list_repositories / add_repository). Optional commit_sha pin. force:true re-applies the current parser even when unchanged at HEAD: it bypasses the per-file hash-skip AND re-runs the SCIP indexer subprocesses (no same-sha .scip cache serve), so a parser fix inside a SCIP runner, an external-moniker re-pin, or a toolchain upgrade takes effect without a version bump.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"repositoryId":{"type":"string","minLength":1,"description":"Encoded repository ID (from list_repositories/add_repository)"},"commit_sha":{"description":"Pin to a commit (omit for latest)","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"force":{"description":"Re-parse every file AND re-run the SCIP indexer subprocesses even if unchanged at HEAD (for a parser fix without a version bump)","type":"boolean"},"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"required":["repositoryId"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"relate","description":"Graph relationship traversal via one kind (real edges, not text). Kinds (1-10 symbols; heritage/chain one):\n- callers: direct callers. granularity:'file' (default) one row/file, 'site' one row/caller.\n- dependencies: outgoing calls/imports.\n- blast_radius: upstream impact walk (every caller, importer and referencer up to 3 hops, no per-hop sampling) + co-change siblings; risk {level,signals}. includeCrossRepo defaults ON here (off for others). blastRadiusTotalCount is the number of distinct symbols that 3-hop walk reached, not the row count: the blastRadius array is capped by expansionLimit. blastRadiusTruncated:true means the rows are a sample of that total; blastRadiusTotalAtLeast:true means the count stopped at its 10000 bound, so quote it as \"N+\". The walk stops at 3 hops, so it can miss impact further away; it never overcounts. Never report the number of listed rows as the impact size.\n- implementers: classes implementing interfaces via heritage edges.\n- heritage: full hierarchy (ancestors+descendants) of ONE type. maxDepth caps it.\n- chain: call-chain paths for a node (nodeId OR selectors[0]); chain params tune the walk.\n- path: shortest connection between selectors[0] (from) and selectors[1] (to). Direction-agnostic hop-labeled path; found:false when none within 6 hops.\nminimal:true = {id,name,filePath,startLine}-only (~50% cheaper) on callers/dependencies/blast_radius/implementers; granularity on callers/blast_radius. Rows may carry confidence (tiers in init usage); a cross-repo callers/dependencies row joined by a SCIP moniker also carries package (the package name that bridged the repos). 0 results: call locate (mode:text), not Grep; reason:\"no_edges_indexed\" = no edges.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"kind":{"default":"callers","description":"Relationship to traverse. See the tool description for each kind.","type":"string","enum":["callers","dependencies","blast_radius","implementers","heritage","chain","path"]},"selectors":{"description":"Symbols to traverse from (1-10). heritage uses selectors[0]; chain: OR nodeId.","minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"nodeId":{"description":"Graph node id from a prior result.","type":"string","minLength":1},"symbol":{"description":"Symbol name, e.g. a function or class name.","type":"string","minLength":1},"symbolPath":{"description":"Full symbolPath as find_node/locate returns.","type":"string","minLength":1},"filePath":{"description":"Repo-relative file path holding the symbol.","type":"string","minLength":1}}}},"limit":{"description":"Per-selector candidate cap (not heritage/chain).","default":5,"type":"integer","minimum":1,"maximum":20},"includeCrossRepo":{"description":"Walk cross-repo edges. Default true for blast_radius, false otherwise.","type":"boolean"},"expansionLimit":{"description":"Caps returned count (not heritage/chain). Default 15.","default":15,"type":"integer","minimum":1,"maximum":100},"intent":{"description":"Rerank by trigram similarity (not heritage/chain).","type":"string","minLength":1,"maxLength":200},"granularity":{"description":"callers/blast_radius. 'file' one row/file, 'site' one row/node.","default":"file","type":"string","enum":["file","site"]},"minimal":{"description":"{id,name,filePath,startLine}-only, ~50% cheaper; not heritage/chain.","default":false,"type":"boolean"},"minimalImplementers":{"description":"Alias of minimal for implementers.","default":false,"type":"boolean"},"maxDepth":{"description":"Max depth for heritage; also caps the kind:path walk (clamped to <=6).","type":"integer","minimum":1,"maximum":10},"nodeId":{"description":"Start node for chain (OR selectors[0]).","type":"string","minLength":1},"direction":{"description":"chain. 'downstream' leaves, 'upstream' entry points, 'both' (default).","default":"both","type":"string","enum":["upstream","downstream","both"]},"depth":{"description":"chain. Chain length.","type":"integer","minimum":1,"maximum":6},"edgeFilter":{"description":"chain. 'calls' | 'imports' | 'calls_imports' (default).","default":"calls_imports","type":"string","enum":["calls","imports","calls_imports"]},"terminalFilter":{"description":"chain. Restrict to paths ending at a node matching this.","type":"string","minLength":1,"maxLength":200},"maxPaths":{"description":"chain. Cap on returned paths.","type":"integer","minimum":1,"maximum":100},"followPolymorphism":{"description":"chain. Walk polymorphic dispatch edges (default false; untraversed hops in polymorphicBranchPoints).","type":"boolean"},"landmarkFilter":{"description":"chain. Keep only paths through a node matching this.","type":"string","minLength":1,"maxLength":200},"pruneSetupMethods":{"description":"chain. Drop framework bootstrap steps.","type":"boolean"},"staysWithinClass":{"description":"chain. Surface intra-class dispatch order.","type":"boolean"},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"source","description":"Raw file/git access at the indexed commit, for cloud agents with no clone; with a clone prefer your own Read/Grep/git. Ops:\n- read: content of filePath, whole file or slice startLine..endLine. ifHash (a prior read's hash) returns {unchanged:true}, no content. compact:true strips blank/comment-only lines.\n- list: files+subdirs at path. grep: ripgrep pattern (glob/pathPrefix). tree: layout from path. stat: size/lines/language/binary for filePath. blame: authorship for filePath. diff: fromSha..toSha.\nKeys: {op:\"read\",filePath:\"src/a.ts\"}, {op:\"grep\",pattern:\"foo\"}, {op:\"list\",path:\"src\"}. filePath is the file, path the directory.\nGated by the Source Access add-on; else source_access_required.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"description":"Project id from init/list_projects. Omit for the active project."},"repository":{"type":"string","minLength":1,"description":"Repository full name, e.g. \"owner/repo\". Omit when the project has one repository."},"op":{"description":"See the tool description for each op. Omitted: inferred from the other args (pattern -> grep, fromSha/toSha -> diff, filePath/path -> read, nothing -> list).","type":"string","enum":["read","list","grep","tree","stat","blame","diff"]},"filePath":{"description":"read/stat/blame: the file to open (required; `path` is accepted as an alias).","type":"string","minLength":1},"startLine":{"description":"read/blame: first line, 1-based.","type":"integer","minimum":1,"maximum":9007199254740991},"endLine":{"description":"read/blame: last line, 1-based.","type":"integer","minimum":1,"maximum":9007199254740991},"ifHash":{"description":"read: a prior read's hash; if it still matches, returns {unchanged:true}, no content.","type":"string","minLength":1},"compact":{"description":"read: strip blank/comment-only lines (heuristic; content no longer maps 1:1 to lines).","default":false,"type":"boolean"},"path":{"description":"list/tree/diff: dir path in the repo (default root). On read/stat/blame it is read as filePath, on grep as pathPrefix.","type":"string"},"maxDepth":{"description":"tree: max recursion depth, default 3.","type":"integer","minimum":1,"maximum":10},"pattern":{"description":"grep: ripgrep pattern (required; `query` is accepted as an alias).","type":"string","minLength":1},"query":{"description":"grep: alias for pattern.","type":"string","minLength":1},"glob":{"description":"grep: limit to files matching this glob.","type":"string"},"pathPrefix":{"description":"grep: limit to files under this prefix.","type":"string"},"limit":{"description":"grep: max matches.","type":"integer","minimum":1,"maximum":500},"fromSha":{"description":"diff: base commit (required), reachable from the indexed branch.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"toSha":{"description":"diff: target commit (required), reachable from the indexed branch.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"commitSha":{"description":"Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:\"architecture\" as a preserved snapshot.","type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},"feedback":{"description":"Optional: report how a previous answer worked out; piggybacks on any call.","type":"object","properties":{"answerId":{"type":"string","minLength":36,"maxLength":36,"description":"answer_id from a previous ask_codebase response"},"outcome":{"type":"string","enum":["useful","dead_end","corrected"],"description":"How the answer worked out."},"correction":{"description":"Only when the user corrected the answer","type":"string","maxLength":2000}},"required":["answerId","outcome"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"}}],"scan":{"score":83,"grade":"B","scanned_at":"2026-09-20T16:16:13.635Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-20T16:16:13.586Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 1724ms"]},"poisoning":{"score":15,"max":15,"notes":["27 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 2 write-action tools with no auth"]},"maintenance":{"score":15,"max":15,"notes":["last push 8 days ago"]},"identity":{"score":9,"max":10,"notes":["registry namespace matches repository owner","website matches verified namespace"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"}],"inputs":{"probes":[{"url":"https://mcp.symvanta.com/mcp","reachable":true,"authRequired":false,"latencyMs":1724,"serverInfo":{"name":"symvanta-v1","version":"1.0.0"}}],"packages":[],"repo":{"found":true,"owner":"Symvanta","repo":"claude-plugin","archived":false,"pushedAt":"2026-09-12T19:10:53Z","stars":0,"forks":0,"openIssues":0,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/275461359?v=4","ownerCreatedAt":"2026-04-12T11:21:32Z"},"icon":{"url":"https://symvanta.com/favicon.ico","source":"site","width":48,"height":48},"presence":{"stars":0,"forks":0,"downloadsWeek":null,"license":null,"lastPushAt":"2026-09-12T19:10:53.000Z","score":23}}}},"grade_history":[],"reviews":[]}