recalc_contract_deadlines
One-time backfill (admin only): close the open MACHINE-CREATED deadlines — both derived (from term/notice) and the ones created by AI extraction on import (evidence starts with [Extraktion]) — of contracts that are already expired, terminated or archived. These are the older rows that predate the automatic close on status change, so a long-passed deadline no longer surfaces as open. Reads the whole inactive-contract inventory page by page; deadlines a user entered by hand are never touched; safe to run again. Returns inactive_contracts_checked, contracts_touched and deadlines_closed.
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": "recalc_contract_deadlines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||