build_graph
Builds or refreshes the repository code graph other wingbox tools read, returning a log of languages, modules, dependencies, and graph location; run it first and after large edits.
Instructions
Builds or refreshes the code graph of the repository and returns the build log: the files found per language, the number of modules and dependencies, and where the graph was written. Use it first in a repository and again after large edits: every other tool reads the graph it writes, and says so when the graph is missing. It is not needed before each question: every tool first brings the graph up to date with the files changed since the build. Only changed files are parsed again; full: true parses every file, and exclude_dirs names folders to leave out, by folder name. It writes the folder .wingbox/ in the repository and nothing else.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Reparse every file instead of only changed ones. | |
| exclude_dirs | No | Directory names to skip, e.g. ["generated"]. |