analyze_context
Analyze code files and the request first to capture style, pre-existing issues, research queries, and git status before planning or making code edits.
Instructions
Step 1: Analyze code files and understand the request.
Returns:
session_id: Use in subsequent tool calls
style_profile: Auto-detected code style (will enforce on edits)
issues: Pre-existing problems (including git status)
research_queries: Suggested searches for best practices
git_status: Repository state and commit readiness
Call this FIRST before any other tool.
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": {
"files": "<files>",
"request": "<request>"
},
"name": "analyze_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| request | Yes |