inspect_context
Preview the context bundle (workspace rules, frameworks, target-model capabilities) that optimize_prompt would assemble, without running optimization.
Instructions
Preview the ContextBundle (workspace rules, frameworks, target-model capabilities, resolved analysis, session history) without running optimization. Returns the same bundle that optimize_prompt would assemble.
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": {
"prompt": "<prompt>"
},
"name": "inspect_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| category | No | ||
| cwd | No | ||
| file_path | No | ||
| file_language | No | ||
| file_excerpt | No | ||
| session_id | No | ||
| skip_intent_resolution | No |