Symvanta

v1.1.0
com.symvanta/code-graph Checked 16 hours ago Published 2 months ago

Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

init

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.

ParameterTypeDescription
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
repositorystringThe 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.

locate

Search/lookup. Pick a mode, or omit with a bare query to AUTO-ROUTE (text, then semantic on empty; response carries answered_by). Modes: - 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. - symbol: symbols by name/symbolPath in one repo. kind filters node kind, layer one layer. Tests last unless includeTests:true.…

ParameterTypeDescription
commitShastringPin an indexed revision (text/symbol/semantic/config; ignored by file/codebase).
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
includeTestsbooleantext/symbol/semantic. Include test files. Default false ranks them last; auto-on for test queries.
kindstringmode:symbol. Filter by node kind.
layerstringmode:symbol. Scope to one layer (e.g. browser, node, common, test).
limitintegerMax results. Per-mode caps apply (text 200/20, symbol 20, semantic 5, file 10, config 20/20, codebase 20/10).
maxPerFileintegermode:text. Cap occurrences/file (default 5; capped file carries moreInFileTruncated). 0 = uncapped.
modestringForce a mode. Omit + bare query = AUTO-ROUTE (text, then semantic on empty). queries without a mode implies text.
namestringmode:file. Filename fragment; defaults to query.
pathPrefixstringtext/symbol/config. Restrict to paths under this prefix.
pathsOnlybooleanmode:text. "filePath:lineNumber" only, no snippets (~5x fewer tokens).
projectIdstringProject id from init/list_projects. Omit for the active project.
queriesarraytext/config. Up to 10 terms; interleaved, deduped, each tagged matchedQuery. Without an explicit mode, implies mode:text. Accepts a JSON-array string.
querystringSearch term or NL query. Required for symbol/semantic/codebase; text/config: query or queries; file: query or name.
repositorystringSingle-repo scope (not codebase; that is project-wide, use repositoryIds).
repositoryIdsarraymode:codebase. Narrow to these repository ids; omit to scan all.

relate

Graph relationship traversal via one kind (real edges, not text). Kinds (1-10 symbols; heritage/chain one): - callers: direct callers. granularity:'file' (default) one row/file, 'site' one row/caller. - dependencies: outgoing calls/imports. - 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. b…

ParameterTypeDescription
commitShastringPin 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 gra…
depthintegerchain. Chain length.
directionstringchain. 'downstream' leaves, 'upstream' entry points, 'both' (default).
edgeFilterstringchain. 'calls' | 'imports' | 'calls_imports' (default).
expansionLimitintegerCaps returned count (not heritage/chain). Default 15.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
followPolymorphismbooleanchain. Walk polymorphic dispatch edges (default false; untraversed hops in polymorphicBranchPoints).
granularitystringcallers/blast_radius. 'file' one row/file, 'site' one row/node.
includeCrossRepobooleanWalk cross-repo edges. Default true for blast_radius, false otherwise.
intentstringRerank by trigram similarity (not heritage/chain).
kindstringRelationship to traverse. See the tool description for each kind.
landmarkFilterstringchain. Keep only paths through a node matching this.
limitintegerPer-selector candidate cap (not heritage/chain).
maxDepthintegerMax depth for heritage; also caps the kind:path walk (clamped to <=6).
maxPathsintegerchain. Cap on returned paths.
minimalboolean{id,name,filePath,startLine}-only, ~50% cheaper; not heritage/chain.
minimalImplementersbooleanAlias of minimal for implementers.
nodeIdstringStart node for chain (OR selectors[0]).
projectIdstringProject id from init/list_projects. Omit for the active project.
pruneSetupMethodsbooleanchain. Drop framework bootstrap steps.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.
selectorsarraySymbols to traverse from (1-10). heritage uses selectors[0]; chain: OR nodeId.
staysWithinClassbooleanchain. Surface intra-class dispatch order.
terminalFilterstringchain. Restrict to paths ending at a node matching this.

source

Raw file/git access at the indexed commit, for cloud agents with no clone; with a clone prefer your own Read/Grep/git. Ops: - 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. - 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. Keys: {op:"read",filePath:"src/a.ts"}, {op:"grep",pattern:"foo"}, {op:"list",path:"src"}. filePat…

ParameterTypeDescription
commitShastringPin 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 gra…
compactbooleanread: strip blank/comment-only lines (heuristic; content no longer maps 1:1 to lines).
endLineintegerread/blame: last line, 1-based.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
filePathstringread/stat/blame: the file to open (required; `path` is accepted as an alias).
fromShastringdiff: base commit (required), reachable from the indexed branch.
globstringgrep: limit to files matching this glob.
ifHashstringread: a prior read's hash; if it still matches, returns {unchanged:true}, no content.
limitintegergrep: max matches.
maxDepthintegertree: max recursion depth, default 3.
opstringSee the tool description for each op. Omitted: inferred from the other args (pattern -> grep, fromSha/toSha -> diff, filePath/path -> read, nothing -> list).
pathstringlist/tree/diff: dir path in the repo (default root). On read/stat/blame it is read as filePath, on grep as pathPrefix.
pathPrefixstringgrep: limit to files under this prefix.
patternstringgrep: ripgrep pattern (required; `query` is accepted as an alias).
projectIdstringProject id from init/list_projects. Omit for the active project.
querystringgrep: alias for pattern.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.
startLineintegerread/blame: first line, 1-based.
toShastringdiff: target commit (required), reachable from the indexed branch.

history

Indexed commit history. Ops: - commits: recent commits (metadata + file list); <=200/call, default 50. With a clone prefer git log. - commit: one commit by sha with its diff summary (added/modified/deleted/renamed); null if outside the indexed window. - recently_changed: files ranked by change frequency in the indexed window ("what's hot").

ParameterTypeDescription
op *stringcommits: recent commits (metadata + file list). commit: one commit in detail. recently_changed: most-changed files over the window.
authorstringFilter by author name or email substring.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
limitintegerMax rows (default 50, max 200).
pathstringRestrict to commits touching this repo-relative path.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.
shastringop:commit. The commit to read (7-64 hex).
sincestringISO datetime lower bound.
untilstringISO datetime upper bound.

library

Library catalog lookups. Ops: - packages: list indexed npm packages (specifier, ecosystem, owner/name, indexed-at, sha). Tenant-scoped, no projectId. - 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.

ParameterTypeDescription
op *stringpackages: list indexed packages. version: resolve one specifier's indexed version.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
limitintegerop:packages. Max rows (default 50, max 200).
projectIdstringProject id from init/list_projects. Omit for the active project.
specifierstringop:version. Package specifier, e.g. "react".

ref

Session-scoped branch / working-tree overlay / project binding. Ops: - 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. - clear: remove the pin, revert to default. - 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. - use_project: bind this session to projec…

ParameterTypeDescription
op *stringuse: 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 s…
baseShastringIndexed base your edits sit on. Omit for the default-branch tip.
branchstringop:use. The tracked branch to pin.
changedFilesarrayChanged/added files with current contents, repo-relative paths.
deletedPathsarrayRepo-relative deleted paths.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

adr

Architecture decision records: the WHY behind code, anchored to a symbol/file/project. Survive reindexes; find_node attaches a node's decisions. Ops: - record: needs title+decision. Anchor with repository+symbolPath or +filePath; omit both for project-wide. Optional context, consequences, status. - list: records for a project, filter by repository/symbolPath/filePath/status. - update: needs id; status:"superseded"+supersededById, or "deprecated".

ParameterTypeDescription
op *stringrecord: create a decision record. list: read records. update: amend or supersede one.
consequencesstringTrade-offs accepted.
contextstringWhy (constraints, alternatives rejected).
decisionstringrecord: what was decided.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
filePathstringAnchor: repo-relative file path.
idintegerupdate: record id (from adr list or find_node decisions).
limitintegerlist: max records (default 20).
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.
statusstringrecord/update: lifecycle status.
supersededByIdintegerupdate: id of the replacement record.
symbolPathstringAnchor: symbolPath as find_node / locate returns.
titlestringrecord: short imperative title, e.g. "No pgvector".

diff_impact

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.

ParameterTypeDescription
basestringBase revision (7-40 hex). Omit for the previous indexed.
expansionLimitintegerCap on impacted nodes (default 25); totals always reported.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
headstringHead revision (7-40 hex). Omit for the session's effective revision.
includeCrossRepobooleanInclude cross-repo fallout (default true).
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

estimate_scope

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.

ParameterTypeDescription
description *stringNatural-language description of the intended change.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.

list_projects

List all projects with indexing summaries. Find a project by name or check which exist.

ParameterTypeDescription
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.

list_repositories

List repositories in a project. Find repository names to scope a query to one repo.

ParameterTypeDescription
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.

list_file_symbols

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}.

ParameterTypeDescription
filePath *stringRepo-relative file path to list symbols for.
commitShastringPin 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 gra…
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

map

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.

ParameterTypeDescription
commitShastringPin 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 gra…
densitystring"compact" (default): classes/methods/functions/endpoints. "full" adds properties.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
maxDepthintegerDrop files deeper than this many path segments. Omit for no cap.
pathstringRepo-relative subtree (e.g. "src/v1/mcp"). Omit for the whole repo.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.
viewstring"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…

list_tests_for

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.

ParameterTypeDescription
selector *stringSymbol name to match against test suite names.
commitShastringPin 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 gra…
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

quick_lookup

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.

ParameterTypeDescription
query *stringSubstring to match against symbol names (no ranking).
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
limitintegerMax results (max 20).
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

freshness

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).

ParameterTypeDescription
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

index_health

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: joi…

ParameterTypeDescription
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

find_http_route

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.

ParameterTypeDescription
path *stringRoute path, e.g. "/api/users/:id". Partial paths match.
commitShastringPin 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 gra…
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
methodstringHTTP method filter, e.g. GET or POST.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

find_node

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…

ParameterTypeDescription
selectors *arraySymbols to resolve (1-10), each by nodeId, symbol, symbolPath, or filePath.
commitShastringPin 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 gra…
expansionLimitintegerCap on expanded related nodes (default 15, max 100).
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
includeCommunitybooleanAttach the symbol's Louvain module (community name). Off by default (extra edge lookup).
includeCrossRepobooleanWith includeHeritage on, walk cross-repo heritage edges. No-op when includeHeritage is off.
includeHeritagebooleanDefault true. Include a compact heritage field for a class/interface/struct/protocol. false skips it on bulk scans.
includeSourcebooleanAttach source for resolved nodes.
includeSummariesbooleanAttach generated summaries when available.
limitintegerMax results (default 5, max 20).
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.
sourceModestringWith includeSource: "signature" returns the declaration only.

ask_codebase

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.

ParameterTypeDescription
commitShastringPin 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 gra…
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
limitintegerMax candidate symbols fed to synthesis (default 10, max 30).
projectIdstringProject id from init/list_projects. Omit for the active project.
querystringAlias of question.
questionstringThe behavior question, e.g. "how does X work".
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.
repositoryIdsarrayscope:all only. Restrict to these encoded repository ids.
scopestringrepo (default) = single-repo. all = cross-repo; repositoryIds narrows, omit spans all.

add_repository

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"…

ParameterTypeDescription
owner *stringGitHub owner (user or org)
repo_name *stringRepository name
default_branchstringDefault branch (default main)
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
installation_idstringPrivate repository: id of a GitHub App installation from list_installations that covers it. Refused (installation_lacks_repository) when the installation does not grant access.
projectIdstringProject id from init/list_projects. Omit for the active project.

create_project

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).

ParameterTypeDescription
name *stringProject name. The slug is derived from it and made unique within the workspace.
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.

list_installations

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.

ParameterTypeDescription
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.

reindex_repository

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.

ParameterTypeDescription
repositoryId *stringEncoded repository ID (from list_repositories/add_repository)
commit_shastringPin to a commit (omit for latest)
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
forcebooleanRe-parse every file AND re-run the SCIP indexer subprocesses even if unchanged at HEAD (for a parser fix without a version bump)
projectIdstringProject id from init/list_projects. Omit for the active project.

context

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.

ParameterTypeDescription
task *stringNatural-language task. Returns ranked files with symbols and matching snippets, no LLM call.
commitShastringPin 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 gra…
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.

bundle

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}.

ParameterTypeDescription
calls *arrayCalls to run in parallel; each uses the bundle's project/repository scope unless its args.repository names another one.
commitShastringPin 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 gra…
feedbackobjectOptional: report how a previous answer worked out; piggybacks on any call.
projectIdstringProject id from init/list_projects. Omit for the active project.
repositorystringRepository full name, e.g. "owner/repo". Omit when the project has one repository.