index_operator
index_operatorBuild or rebuild an operator's CodeMap through prepare, extract, analyze, and commit steps, requiring project path and architecture. Use when indexing an operator or when no .uo file exists.
Instructions
Build or rebuild the operator CodeMap (prepare → extract → analyze → commit). Requires project + architecture. Do not call on MCP connect; only when the user asks to index or no .uo exists. If a .uo already exists, use update_operator instead.
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": "<project>",
"architecture": "<architecture>"
},
"name": "index_operator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Operator directory (absolute path). | |
| architecture | Yes | e.g. arch35. |