Add tracked document
add_tracked_documentTrack a document/credential's EXPIRY and auto-schedule renewal reminders — the expat killer feature (passports, residence permits, visas, insurances, contracts, tax deadlines). Provide 'title' and 'valid_until' (YYYY-MM-DD). Optional: 'kind' (passport/residence_permit/visa/insurance/contract/license/tax/other), 'holder' (whose — e.g. me/wife/dog), 'number_masked' (LAST 4 chars only — never the full number), 'valid_from', 'document_id' (link an uploaded scan in the caller's documents), 'notes', and 'reminder_offsets' (days-before-expiry to remind; default [90,30,7]). On create, one TZ-003 scheduled notification is materialized per still-future offset (server-side — it fires even with no agent running), tagged related={type:tracked_document,id:}. Additive; over MCP it still runs the caller's own record and is written straight away; remove it with delete_tracked_document. CONFIRMATION: this tool runs immediately when the caller asks for it — it writes only their own record, and they can undo it from this same surface, so the request is taken as the instruction. You get an ordinary result, not a plan_token. Everything destructive, outbound or financial still proposes and waits.
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": {
"title": "<title>",
"valid_until": "<valid_until>"
},
"name": "add_tracked_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| notes | No | ||
| title | Yes | ||
| holder | No | ||
| valid_from | No | ||
| document_id | No | ||
| valid_until | Yes | ||
| number_masked | No | ||
| reminder_offsets | No |