Nowline
v0.13.0Create 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.
| Parameter | Type | Description |
|---|---|---|
now | string | Now-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 -`). |
path | string | Absolute or relative path to a .nowline file to validate. |
source | string | Inline .nowline source text to validate. |
timezone | string | Timezone 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to write the .nowline file. |
source * | string | The .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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path of the .nowline file to update. |
source * | string | The new .nowline source text. |
delete
Delete a local .nowline file.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path of the .nowline file to delete. |
list
List .nowline files under a directory.
| Parameter | Type | Description |
|---|---|---|
directory | string | Directory to scan. Defaults to the project root (--root, else the client's first MCP root, else cwd). Absolute or relative. |
recursive | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
format | string | Output format. Defaults to svg. |
nonWorking | string | How 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).… |
now | string | Now-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 -`). |
output | string | Real 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… |
path | string | Real 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… |
preview | boolean | When 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. |
review | boolean | When 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. |
scale | number | PNG pixel-density multiplier. Defaults to 2. |
source | string | Inline .nowline source text. |
theme | string | Color theme: light, dark, grayscale ("greyscale" is accepted). Defaults to light. |
timezone | string | Timezone 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… |
width | number | Maximum 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.
| Parameter | Type | Description |
|---|---|---|
format * | string | Export format: svg, pdf, html, mermaid, xlsx, msproj, or png. |
delivery | string | "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… |
marginPt | number | PDF margin in points. |
msprojStart | string | MS Project start date override (YYYY-MM-DD). |
nonWorking | string | How 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).… |
now | string | Now-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 -`). |
orientation | string | PDF orientation. |
output | string | Optional 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… |
pageSize | string | PDF page size: a preset name, "content", or <W>x<H><unit> (e.g. 8.5x11in). Validated for every format. |
path | string | Real 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… |
scale | number | PNG scale factor. |
source | string | Inline .nowline source text. |
theme | string | Color theme: light, dark, grayscale ("greyscale" is accepted). Defaults to light. |
timezone | string | Timezone 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… |
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.
| Parameter | Type | Description |
|---|---|---|
to * | string | "json" — serialize .nowline text to JSON AST. "nowline" — pretty-print a JSON AST back to .nowline source. |
path | string | Real local filesystem path to the source file. Never pass a virtual or sandbox path such as /mnt/user-data/… — pass `source` instead. |
source | string | Inline 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.
| Parameter | Type | Description |
|---|---|---|
format | string | Reference format. Defaults to condensed. |
examples
Return canonical .nowline example sources. Callable alternative to the nowline://examples resource.
| Parameter | Type | Description |
|---|---|---|
name | string | Example 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).