enhancedocs
For agentsOpen Enhance ↗
CLI commands / enhance-dev canvas create-artboard

Enhance documentation

enhance-dev canvas create-artboard

Create a top-level frame.

↓ Markdown

enhance-dev canvas create-artboard

enhance-dev canvas create-artboard [options]

Arguments

This command takes no positional arguments.

Options

OptionRequiredDefaultMeaning
--canvas <url-or-id>YesNoneCanvas URL or UUID to edit.
--base-version <integer>YesNoneDocument version returned by enhance canvas document get.
--name <name>YesNoneHuman-readable team name.
--styles <json-or-@path>YesNoneCSSProperties with width and height.
--client-token <uuid>NoNoneStable UUID to reuse when retrying the exact same mutation.
--output <path>NoNoneReview PNG path.
--forceNofalseReplace an existing review PNG.

Input

This command takes its input from the options above. It has no published input schema.

Output

This command writes JSON records to standard output. It has no published output schema.

Examples

enhance-dev canvas create-artboard --canvas <url-or-id> --base-version <integer> --name <name> --styles <json-or-@path>

Exit behaviour

Exit codeMeaning
0The command succeeded.
1The command failed for another reason (INTERNAL). A write may have an unknown outcome.
2The command line was malformed. Nothing ran.
3The API refused the input (BAD_REQUEST).
4The credential is missing or expired (UNAUTHORIZED).
5The API refused the request (FORBIDDEN, NOT_FOUND, CONFLICT, RATE_LIMITED).
6A batch finished only in part. Retry with the same --client-token.

Versions

Minimum tested versions: Enhance CLI and MCP runtime 0.1.40, plugin 1.0.38, Node.js 24. No older floor is published.