memorybank_write_file
Write a file to the project and automatically reindex it in the Memory Bank for updated semantic search.
Instructions
Escribe un archivo y automáticamente lo reindexa en el Memory Bank.
⚠️ Preferir RUTA ABSOLUTA para evitar errores. Ejemplo path: "C:/workspaces/proyecto/src/nuevo.ts"
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>",
"path": "<path>",
"content": "<content>"
},
"name": "memorybank_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Ruta al archivo. Preferir ABSOLUTA: 'C:/workspaces/proyecto/src/file.ts' | |
| content | Yes | Contenido COMPLETO del archivo | |
| projectId | Yes | Identificador del proyecto (OBLIGATORIO) | |
| autoReindex | No | Auto-reindexar después de escribir (default: true) |