advise
Get senior-engineer guidance to troubleshoot bugs or errors and generate implementation plans for new features by selecting troubleshoot or implement mode.
Instructions
Get senior-engineer guidance: either troubleshoot a bug/error, or get an implementation plan for a new feature. Set mode="troubleshoot" or mode="implement".
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": {
"input": "<input>"
},
"name": "advise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | JSON string containing the request payload. Structure depends on mode: TROUBLESHOOT MODE (mode="troubleshoot"): { "mode": "troubleshoot", "tech": "node" | "python" | "nestjs" | "react" | "nextjs" | "vue" | "angular" | "typescript" | "express" | "fastapi" | "django" | "other", "task": "string describing what you were trying to accomplish", "errorOutput": "optional string with full error message or stack trace", "failedAttempts": "optional array of {description: string, outcome: string}", "codeSnippets": "optional array of {filename?: string, code: string, description?: string}", "additionalContext": "optional string with env details, versions, constraints" } IMPLEMENT MODE (mode="implement"): { "mode": "implement", "tech": "same as above", "featureDescription": "clear description of what is being built", "filesTouched": "array of {path: string, relevantContent: string}", "existingPatterns": "optional string describing naming conventions, folder structure, error handling style", "constraints": "optional string with must-nots, required libraries, etc.", "additionalContext": "optional string with anything else useful" } Example troubleshoot call: JSON.stringify({ "mode": "troubleshoot", "tech": "nestjs", "task": "JWT guard blocking WebSocket connections", "errorOutput": "UnauthorizedException: Unauthorized\n at JwtAuthGuard...", "failedAttempts": [{"description": "Added @UseGuards(JwtAuthGuard) to gateway class", "outcome": "All connections rejected immediately"}], "codeSnippets": [{"filename": "chat.gateway.ts", "code": "@UseGuards(JwtAuthGuard)\n@WebSocketGateway()\nexport class ChatGateway {}"}] }) |