set_thresholds
Override token thresholds for warnings, errors, and alerts, and configure suppression of logs and repetitive history to manage session token usage.
Instructions
Override alert thresholds for the current session. All values are in estimated tokens. Returns the applied configuration.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_thresholds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert | No | Token count that triggers an alert. | |
| error | No | Token count that triggers an error. | |
| warning | No | Token count that triggers a warning. | |
| suppressLogs | No | Whether to suppress log-pattern outputs. | |
| suppressRepetitiveHistory | No | Whether to flag repetitive history messages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| applied | No |