setup_copilot_instructions
Analyze a repository to generate project-specific copilot instructions and a full tool-reference guide for AI coding assistants.
Instructions
Analyze a repository and generate two files: a lean .github/copilot-instructions.md (project-specific facts only — stack, commands, lxDIG bootstrap) and a .github/lxdig-agent-guide.md (full tool-reference guide with correct signatures, decision table, pitfalls, and usage patterns). The guide is read on demand so it does not saturate the ambient instruction context.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "setup_copilot_instructions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetPath | No | Absolute path to the target repository (defaults to the active workspace) | |
| projectName | No | Override the detected project name | |
| dryRun | No | Return the generated content without writing the file | |
| overwrite | No | Replace an existing copilot-instructions.md | |
| profile | No | Response profile | compact |