pce_init
Initialize a project's runtime context by building the index and navigation data required for query, impact, and sync operations. Call before using any dependent tools.
Instructions
Purpose: Bind a target project and initialize the PCE runtime, building the index and navigation context required by query / impact / sync. When to use: Call this when entering a new project or the first time PCE is needed in a session. Do NOT call pce_query, pce_impact, pce_sync, or edit tools before pce_init succeeds. Best practice: Typically called once per session and awaited until success. Only call again when switching projects or retrying after a failure. Avoid: Do not use this as a code query tool; it establishes context but does not directly answer code questions.
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_path": "<project_path>"
},
"name": "pce_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Absolute path to the target project root. |