cfg_check_update
Checks PyPI for a newer cfgit release at session start, reports available updates, and records a snooze period so users can choose to upgrade or postpone.
Instructions
Check PyPI for a newer cfgit release. Call this at the start of a cfgit session; if
data.update_available is true and not data.snoozed, tell the user the new version and
offer to upgrade (pip install -U cfgit) or to snooze. NEVER upgrade for them.
Pass `snooze_days` (e.g. 30) to record a "don't ask again for N days" snooze when the user
asks to be reminded later. Best-effort and fail-silent; honors CFGIT_NO_UPDATE_CHECK.
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": "cfg_check_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snooze_days | No | Snooze the update reminder for this many days (e.g. 30). Omit to check now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||