index_folder
Index a project folder so list_projects lists every project inside without opening each one; set remove to stop indexing while keeping its files.
Instructions
Index a folder this person keeps projects in (a synced drive, a shared disk), so list_projects lists every project in it without opening each; remove=true stops indexing it (its files stay). Kept in the MOGA home, not in a project; indexing a folder twice changes nothing. Returns the indexed folders.
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": {
"dir": "<dir>"
},
"name": "index_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path of the folder | |
| remove | No | Stop indexing dir instead |