get_code_review_context
Analyze code changes from Jules AI sessions to generate structured summaries of modifications, organized by file with change types and line counts for efficient review.
Instructions
Review code changes from a Jules session. Returns a structured summary of what changed, organized by file with change types, line counts, and activity IDs. Automatically detects if session is busy (aggregates from activities) or stable (uses final outcome). Can optionally scope to a single activity. For detailed diffs, use show_code_diff.
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": {
"sessionId": "<sessionId>"
},
"name": "get_code_review_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The Jules session ID to review. | |
| activityId | No | Optional activity ID to review changes from a single activity instead of the whole session. | |
| format | No | Output format: summary (default) for overview with stats, tree for directory structure, detailed for full file list, markdown for full session report. | |
| filter | No | Filter by change type. Defaults to all. | |
| detail | No | Detail level: minimal (files only), standard (default, + insights/timing), full (+ activity counts). |