update_context_window
Dynamically adjusts the active LLM context window token size so agents can match model limits and handle larger or smaller prompts.
Instructions
Dynamically update the active LLM context window token size.
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": {
"context_window": "<context_window>"
},
"name": "update_context_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_window | Yes | New context window size in tokens (e.g. 65536, 131072, 262144) |