index_project_code
Index a project's files for semantic code search (RAG). Pass the files to index as a path → content map; re-indexing a path replaces it. Metered — a paid-plan feature.
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_id": "<project_id>",
"files": "<files>"
},
"name": "index_project_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | File map to index: keys are file paths, values are file contents | |
| project_id | Yes | Project UUID |