analyze_context
Analyze chat message token usage to detect bloated prompts, near-full context, and repeated content, returning per-role breakdowns and recommendations.
Instructions
Analyze a list of chat messages ({role, content}) for token usage and issues. Detects bloated system prompts, near-full context windows, and repeated content. Returns per-role breakdown, issues list, and recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | gpt-4o | |
| messages | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||