Nowline

v0.13.0
io.nowline/nowline Checked 3 hours ago Published 18 days ago

Create and edit your roadmaps in a plain-text format.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

validate

Parse and validate a .nowline roadmap. Returns ok=true with optional layout insights when valid, or ok=false with structured diagnostics. Example: nowline v1 roadmap r "Title" start:2026-01-05 scale:2w swimlane eng "Engineering" item build "Build" duration:3w Source is `.nowline` DSL (not JSON/YAML); call the `reference`/`examples` tools for full syntax.

ParameterTypeDescription
nowstringNow-line date as YYYY-MM-DD. Omit to draw it at today's date in `timezone` (the server's local zone when `timezone` is omitted too); pass "-" to suppress the now-line (same as the CLI's `--now -`).
pathstringAbsolute or relative path to a .nowline file to validate.
sourcestringInline .nowline source text to validate.
timezonestringTimezone that decides today's date when `now` is omitted (ignored when `now` is a date): "local" (the default), "UTC", an ISO 8601 offset ("+05:30", "-07:00", "Z"), or an IANA name ("America/Los_Angel…

read

Read a local .nowline file.

ParameterTypeDescription
path *stringAbsolute or relative path to the .nowline file to read.

create

Write a new .nowline file after validation. Overwrites if the path already exists. Example: nowline v1 roadmap r "Title" start:2026-01-05 scale:2w swimlane eng "Engineering" item build "Build" duration:3w Source is `.nowline` DSL (not JSON/YAML); call the `reference`/`examples` tools for full syntax.

ParameterTypeDescription
path *stringAbsolute or relative path to write the .nowline file.
source *stringThe .nowline source text to write.

update

Replace an existing .nowline file after validation. Example: nowline v1 roadmap r "Title" start:2026-01-05 scale:2w swimlane eng "Engineering" item build "Build" duration:3w Source is `.nowline` DSL (not JSON/YAML); call the `reference`/`examples` tools for full syntax.

ParameterTypeDescription
path *stringAbsolute or relative path of the .nowline file to update.
source *stringThe new .nowline source text.

delete

Delete a local .nowline file.

ParameterTypeDescription
path *stringAbsolute or relative path of the .nowline file to delete.

list

List .nowline files under a directory.

ParameterTypeDescription
directorystringDirectory to scan. Defaults to the project root (--root, else the client's first MCP root, else cwd). Absolute or relative.
recursivebooleanWhether to scan subdirectories. Defaults to false.

render

Validate then render a .nowline roadmap to SVG or PNG (combined validate+render). Returns structured diagnostics on error-severity input instead of a raw kernel error. On MCP Apps hosts the in-chat preview is view-only (no download/export button); use `export` for files and the `share` tool for an openable link. Example: nowline v1 roadmap r "Title" start:2026-01-05 scale:2w swimlane eng "Engineering" item build "Build" duration:3w Source is `.nowline` DSL (not JSON/YAML); call the `reference`/`examples` tools for full syntax.

ParameterTypeDescription
formatstringOutput format. Defaults to svg.
nonWorkingstringHow a business calendar's non-working days appear: hide collapses them, show draws them as shaded bands. Overrides the file's `default roadmap non-working:` key; omit to let the key apply (then hide).…
nowstringNow-line date as YYYY-MM-DD. Omit to draw it at today's date in `timezone` (the server's local zone when `timezone` is omitted too); pass "-" to suppress the now-line (same as the CLI's `--now -`).
outputstringReal local filesystem path to write the output file (e.g. /Users/name/Desktop/roadmap.svg). Never pass a virtual or sandbox path such as /mnt/user-data/… — omit this parameter to receive output in…
pathstringReal local filesystem path to the .nowline file (e.g. /Users/name/Desktop/foo.nowline). Never pass a virtual or sandbox path such as /mnt/user-data/… — those do not exist on the host filesystem. P…
previewbooleanWhen true, force the in-chat MCP Apps preview; when false, return inline output even on an MCP Apps host. Omit to follow the host: on MCP Apps hosts the preview auto-renders via _meta.ui.
reviewbooleanWhen true, also attach a downscaled PNG so a multimodal model can visually check layout (label overflow, lane crowding, off-range now-line). Off by default.
scalenumberPNG pixel-density multiplier. Defaults to 2.
sourcestringInline .nowline source text.
themestringColor theme: light, dark, grayscale ("greyscale" is accepted). Defaults to light.
timezonestringTimezone that decides today's date when `now` is omitted (ignored when `now` is a date): "local" (the default), "UTC", an ISO 8601 offset ("+05:30", "-07:00", "Z"), or an IANA name ("America/Los_Angel…
widthnumberMaximum canvas width in px, an integer of at least 320. Unset fits the content; a wider roadmap shrinks its timeline to fit.

export

Export a .nowline roadmap to any of the eight canonical formats. Byte-identical to `nowline -f <format>` for the same source and inputs. For pdf/xlsx/png: omit `delivery` and omit `output` — the server auto-saves to the configured folder and returns the path. Never use `delivery:"inline"` for binary formats on Claude Desktop (inline binary cannot be displayed). For svg/html/mermaid: the text is returned inline — present it to the user as a downloadable artifact of the matching type.

ParameterTypeDescription
format *stringExport format: svg, pdf, html, mermaid, xlsx, msproj, or png.
deliverystring"file" — write to disk and return the path (no inline bytes). "inline" — return bytes in the response (embedded resource for pdf/xlsx, image for png, text for other formats). "both" — write to d…
marginPtnumberPDF margin in points.
msprojStartstringMS Project start date override (YYYY-MM-DD).
nonWorkingstringHow a business calendar's non-working days appear: hide collapses them, show draws them as shaded bands. Overrides the file's `default roadmap non-working:` key; omit to let the key apply (then hide).…
nowstringNow-line date as YYYY-MM-DD. Omit to draw it at today's date in `timezone` (the server's local zone when `timezone` is omitted too); pass "-" to suppress the now-line (same as the CLI's `--now -`).
orientationstringPDF orientation.
outputstringOptional path to write the output file. Omit for binary formats (pdf, xlsx, png) — the server auto-saves to the configured folder as <roadmap-id>.<ext>. To choose a filename, pass a bare filename (e…
pageSizestringPDF page size: a preset name, "content", or <W>x<H><unit> (e.g. 8.5x11in). Validated for every format.
pathstringReal local filesystem path to the .nowline file (e.g. /Users/name/Desktop/foo.nowline). Never pass a virtual or sandbox path such as /mnt/user-data/… — those do not exist on the host filesystem. P…
scalenumberPNG scale factor.
sourcestringInline .nowline source text.
themestringColor theme: light, dark, grayscale ("greyscale" is accepted). Defaults to light.
timezonestringTimezone that decides today's date when `now` is omitted (ignored when `now` is a date): "local" (the default), "UTC", an ISO 8601 offset ("+05:30", "-07:00", "Z"), or an IANA name ("America/Los_Angel…

share

Generate a shareable link for a roadmap. The roadmap source is encoded into the URL fragment (client-side; no upload, no account, no network call) and opens in the free Nowline web app (free.nowline.io/open), where anyone with the link can view it and export to PDF/PNG/SVG. Prefer `render` to show a roadmap in chat — that is the default. Use `share` only when the user explicitly asks for a link to open, send, or export elsewhere.

ParameterTypeDescription
pathstringReal local filesystem path to the .nowline file (e.g. /Users/name/Desktop/foo.nowline). Never pass a virtual or sandbox path such as /mnt/user-data/… — those do not exist on the host filesystem. P…
sourcestringInline .nowline source text.

convert

Convert between .nowline source text and its JSON AST representation. `to:json` serializes a .nowline file to the JSON AST; `to:nowline` pretty-prints a JSON AST back to canonical .nowline source.

ParameterTypeDescription
to *string"json" — serialize .nowline text to JSON AST. "nowline" — pretty-print a JSON AST back to .nowline source.
pathstringReal local filesystem path to the source file. Never pass a virtual or sandbox path such as /mnt/user-data/… — pass `source` instead.
sourcestringInline source text to convert.

capabilities

Return all supported themes, icons, locales, export formats, and template names in a single response.

list-themes

List supported color themes: light, dark, grayscale.

list-icons

List built-in capacity-icon names usable in the `capacity-icon:` style property.

list-locales

List supported BCP-47 locale tags.

list-formats

List all supported export formats (svg, png, pdf, html, mermaid, xlsx, msproj, json).

list-templates

List built-in template names usable with `nowline --init --template`.

reference

Return the Nowline DSL reference (condensed cheatsheet or full man page). Callable alternative to the nowline://reference resource.

ParameterTypeDescription
formatstringReference format. Defaults to condensed.

examples

Return canonical .nowline example sources. Callable alternative to the nowline://examples resource.

ParameterTypeDescription
namestringExample name. Omit for the catalog plus minimal inline.

schema

Return the structured Nowline DSL key vocabulary (directive keys, entity types, item properties, config keywords, calendar declaration keys).