Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Write tools

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).

Logging, capture, triage

ToolInputsEffect
append_to_logtextAppend a line to today’s daily note. (cdno log)
capturetextDrop a raw note into inbox/. (cdno capture)
discard_inbox_itemslugClear a triaged capture (slug from triage_inbox).

Evidence

ToolInputsEffect
file_to_portfolioportfolio, source, origin, content?, attach?, vars?File evidence into a portfolio; attach is a server-side path to a non-Markdown artefact (vars is ignored on the attach path). (cdno file)

Projects, actions, milestones, waiting-on

ToolInputsEffect
update_project_stateproject, new_stateRewrite the Current State (auto-logs the previous).
add_actionproject, title, energy, with_note?, vars?Append a next action; with_note also scaffolds a manifest note (vars applies only then).
promote_actionproject, query, vars?Promote a bullet to a manifest note (substring match).
complete_actionproject, queryComplete an action; archives its note if any.
add_milestoneproject, title, target_date, hard?Add a milestone; hard counts it in commitments.
complete_milestoneproject, queryComplete a milestone (substring match).
add_waiting_onproject, descriptionAdd a waiting-on blocker.
resolve_waiting_onproject, queryResolve a waiting-on item (substring match).

Commitments and tracking

ToolInputsEffect
create_commitmenttitle, due, context, project?, stewardship?, vars?Create a standalone commitment note.
complete_commitmentcommitment (slug)Mark a commitment done and archive it.
create_tracking_entrystewardship, activity, routine?, content?, vars?, metrics?, date?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.

Frontmatter

ToolInputsEffect
set_frontmatternote, key, valueSet 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)

Daily, weekly, and monthly sections

ToolInputsEffect
upsert_daily_sectionsection (Standup|Intention|Agenda|Meeting), content?, date?, append?Write or append a daily-note section.
upsert_weekly_sectionsection (Wins|Challenges|One Improvement|This Week's Goal), content?, date?, append?Write or append a weekly-note section.
upsert_monthly_sectionsection (Wins|Themes|Next Month's Focus), content?, date?, append?Write or append a monthly-note section.

Notes

  • 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.
  • See also: Creation and lifecycle tools, JSON output.