index_project
Build or refresh a project's dependency graph to incorporate recent code changes, ensuring subsequent command assessments reflect the current structure.
Instructions
Build or refresh the dependency graph for a project.
Forces a graph rebuild for the given project root. Normally not
required — assess_command auto-builds the graph on first use —
but useful to refresh after a large code change.
Args: project_root: Absolute path to the project root directory.
Returns: Status dict confirming the project was indexed.
Example::
index_project("/home/user/my-project")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_root": "<project_root>"
},
"name": "index_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | Yes |