init_project_setup
Configure workspace context, rebuild code graph, and generate .github/copilot-instructions.md automatically as the first step for any new project or fresh session.
Instructions
One-shot project initialization: sets workspace context, triggers graph rebuild, and generates .github/copilot-instructions.md if not present. Use this as the first step when onboarding a new project or starting a fresh session.
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": {
"workspaceRoot": "<workspaceRoot>"
},
"name": "init_project_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceRoot | Yes | Absolute path to the project root to initialize | |
| sourceDir | No | Source directory relative to workspaceRoot (default: src) | |
| projectId | No | Project identifier (default: basename of workspaceRoot) | |
| rebuildMode | No | incremental = changed files only; full = rebuild entire graph | incremental |
| withDocs | No | Also index markdown docs during rebuild | |
| profile | No | Response profile | compact |