Tools that mutate the vault. Each returns a result describing what was written. The same business
rules as the CLI apply (append-only notes, auto-logged project state, the project cap).
File a tracking note under an expanded stewardship. metrics is a JSON object merged into the entry’s frontmatter — a scalar per reading ({"balance": 1240.5}), or an array of flat records when one entry holds several comparable items ({"detail": [{"subject": "harmony", "minutes": 25}]}); a scalar whose key is declared under [schemas.tracking.fields] is type-checked, and a key naming the note’s identity (type, stewardship, activity, date) is refused. date files the entry for a past day (bounded to 50 years back, 1 year ahead). A second call for the same (activity, date)merges into the first: content appended, metrics folded in. Records carrying a stable id replace the record with that id; records without one append, so re-sending a payload without ids double-counts summed metrics. Either way the write is journalled to today’s daily log.
Set a declared, settable = true typed frontmatter field through the index (no desync). note is today, a YYYY-MM-DD date, or a vault-relative path. Engine-owned keys (type, status, a period key) are rejected; the value is type-checked; log_on_change fields stamp a daily-log line. (cdno frontmatter set)
append? defaults to replacing the section; set it true to append instead.
Dates are YYYY-MM-DD; week-scoped tools accept any day in the target week, and month-scoped
tools accept any day in the target month.
vars? is an optional name -> value map supplying values for a custom template’s
[variables.prompt] placeholders — the MCP analogue
of the CLI’s repeatable --var name=value. Omitting a required prompted variable fails with an
“unresolved prompts” error. See Creation and lifecycle tools for the
full list of templated tools that accept it.