rag_index_nodes_tool
Index code nodes into a RAG vector store for semantic search. Include node ID, text content, and optional metadata to enable retrieval by meaning.
Instructions
Index code nodes into the RAG vector store for semantic search. Each node should have an ID, text content, and optional metadata.
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": {
"projectId": "<projectId>",
"nodes": "<nodes>"
},
"name": "rag_index_nodes_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | ||
| projectId | Yes | ||
| collection | No | code_nodes | |
| persistDirectory | No |