KiroGraph’s core tools are registered unconditionally — they appear in everyDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/davide-desio-eleva/kirograph/llms.txt
Use this file to discover all available pages before exploring further.
tools/list response regardless of which feature flags are enabled. The always-on core set covers the most frequent agent workflows: building task context, searching for symbols, and inspecting symbol details. Navigation tools (kirograph_status, kirograph_files, kirograph_impact) require enableNavigation: true. Call-graph traversal tools (kirograph_callers, kirograph_callees) require trackCallSites: true. Agent utility tools (kirograph_read, kirograph_retrieve, kirograph_gain, kirograph_budget) require enableAgentUtils: true.
Core Tools (always-on)
The three always-on tools —kirograph_context, kirograph_search, and kirograph_node — are registered unconditionally and appear in every tools/list response.
kirograph_context
The primary entry point for every agent task. Given a natural-language task description, it extracts symbol tokens, runs exact lookup + full-text search + vector search against the active semantic engine, resolves imports to their definitions, expands the graph to related symbols, and returns entry points, related nodes, edges, and code snippets — all in a single call.
This is the only tool that invokes the vector engine on every call. For most tasks, one call to kirograph_context is enough to orient the agent without any further tool calls.
Natural-language description of the task, bug, or feature to investigate. Supports CamelCase, snake_case, SCREAMING_SNAKE, and dot.notation symbol tokens.
Maximum number of symbols to include in the response.
Code verbosity level. Options:
full (complete source code), signatures (signature + docstring, ~70% fewer tokens than full), summary (file locations only, no code).Absolute path to the project root. Defaults to the server’s current working directory.
Token extraction
Parses the task string for CamelCase, snake_case, SCREAMING_SNAKE, and dot.notation tokens.
Exact + FTS + vector search
Runs exact name lookup → SQLite FTS → vector search against the active semantic engine.
Graph expansion
BFS-expands through related edges (
calls, imports, references, type_of) up to maxNodes.kirograph_search
Quick symbol search by name. Returns file locations and qualified names only — no source code. Ideal for confirming a symbol exists or discovering all symbols that match a partial name before drilling in with kirograph_node.
Symbol name or partial name (e.g.
"auth", "signIn", "UserService").Search mode.
name (default) uses FTS prefix match; similar uses fuzzy substring match for broader results.Filter by node kind. Options:
function, method, class, interface, type_alias, variable, route, component.Maximum results to return (1–100).
Project root path.
kirograph_node
Get details about a specific symbol, with configurable depth — from a quick location summary up to the full source code.
Symbol name or fully-qualified name to look up.
When
true, treats symbol as a fully-qualified name and performs an exact match, bypassing FTS. Use when you have the qualifiedName from a prior result.Output verbosity. Options:
summary (name + location + qualified name), signatures (adds signature and docstring), full (adds complete source code).Project root path.
Call-Graph Traversal Tools (require trackCallSites: true)
kirograph_callers
Find all functions and methods that call a specific symbol. Uses BFS traversal of incoming call edges in the graph database — no vector engine involved.
Symbol name to find callers for.
Maximum results to return (1–100).
Project root path.
Requires
trackCallSites: true in your config. Call-site edges are only written to the graph during indexing when this flag is enabled.kirograph_callees
Find all functions and methods that a specific symbol calls. Uses BFS traversal of outgoing call edges — no vector engine involved.
Symbol name to find callees for.
Maximum results to return (1–100).
Project root path.
Navigation Tools (require enableNavigation: true)
kirograph_impact
Analyze what code would be affected by changing a symbol. BFS-traverses all incoming edges (call, import, reference, and others) up to the specified depth. Use this before making changes to understand blast radius.
Symbol name to analyze impact for.
BFS traversal depth. Higher values find more transitive dependents.
Project root path.
kirograph_status
Check index health and statistics. Returns files indexed, symbol count, edge count, breakdown by kind and language, detected frameworks, database size, semantic engine status, and (if enabled) docs, data, security, and pattern subsystem summaries.
Project root path.
kirograph_files
List the indexed file structure with filtering and multiple output formats. Useful for exploring the project layout and checking which files have been indexed.
Filter by directory path prefix (e.g.
"src/").Filter by glob pattern (e.g.
"**/*.ts").Limit directory tree depth.
Output format. Options:
tree (visual directory tree), flat (one path per line), grouped (grouped by directory), compact (rtk-style summary with counts).Include language and symbol count annotations alongside each file.
Project root path.
Agent Utility Tools (require enableAgentUtils: true)
kirograph_read
Read a file with session-level caching. The first read returns full content; subsequent reads of unchanged files return a compact [cached: file unchanged] marker (~13 tokens), saving context on repeated reads. Supports multiple modes for targeted extraction.
File path (absolute or relative to project root).
Read mode. Options:
full (entire file), map (structure overview), signatures (function signatures only), diff (changes since last read), lines (line range, requires start/end), imports, exports.Start line for
lines mode.End line for
lines mode.Force a fresh filesystem read, bypassing the session cache.
Project root path.
kirograph_retrieve
Cached Content Retrieval (CCR). Returns the full content stored in the session cache, or reads and caches the file if not yet seen. Use after kirograph_read returns a [cached: file unchanged] marker to recover the actual content without a redundant filesystem read.
File path to retrieve (absolute or relative to project root).
Project root path.
kirograph_budget
Show current session context budget usage: tokens consumed, remaining budget, and utilization percentage.
Reset session budget counters.
Project root path.
kirograph_gain
Show token savings statistics accumulated from compressed command outputs and graph tool calls in the current session (or longer periods).
Time window to aggregate. Options:
session (since server start), today, week, all.Project root path.
Shell Execution Tool (requires enableShellExec: true)
kirograph_exec
Run a shell command with token-optimized, noise-filtered output. Automatically applies structural filters for git, test runners (Jest, Vitest, pytest), linters (ESLint, Pylint), build tools (webpack, tsc), and Docker — stripping repeated noise lines and compacting progress bars before the output reaches the model.
Shell command to execute.
Working directory for the command.
Compression intensity. Options:
normal (balanced), aggressive (more compact), ultra (maximum compression — may drop some detail).Timeout in seconds before the command is killed.
Project root path used for configuration lookup.
When
enableShellExec is false, the tool is not registered. Use kirograph_compress instead for manual compression of command output that arrived from outside KiroGraph.General Compression Tool (requires enableGeneralCompression: true)
kirograph_compress
On-demand compression for arbitrary text before it reaches the model. Routes to one of two engines depending on whether command is provided. Reports inline savings: [42% tokens saved | 1800→1044 | rtk:git:aggressive].
Text to compress.
Shell command that produced the text (e.g.
"git log", "npm test"). When provided, activates rtk-style structural filters. Omit for prose — uses caveman grammar instead.Compression intensity. Options:
lite / normal (light), full / aggressive (medium), ultra (maximum).