Engine & UI Command Registry
On this page
Complete catalog of 106 engine commands compiled from curvebook_engine::cmd::registry() and 59 desktop shell commands from UI_COMMANDS.
For wire execution syntax across MCP, CLI, and loopback --control, see MCP Server Reference, CLI Reference, and MCP Tools Registry.
Engine Commands (cmd::registry)
Project & Files (12)
file.new — New Project
Create a fresh empty CurveBook project.
MCP tool: file_new · CLI: curvebook-cli file.new [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"title": {
"anyOf": [
{
"description": "Title for the new project (defaults to `Untitled Project`)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.createCheckpoint — Create Checkpoint
Save a named project snapshot checkpoint inside the document.
MCP tool: project_create_checkpoint · CLI: curvebook-cli project.createCheckpoint [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"anyOf": [
{
"description": "Optional unique checkpoint ID (auto-generated if omitted)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"description": "Human-readable checkpoint name",
"minLength": 1,
"type": "string"
},
"note": {
"anyOf": [
{
"description": "Optional checkpoint description or note",
"type": "string"
},
{
"type": "null"
}
]
},
"timestamp_utc": {
"anyOf": [
{
"description": "Optional explicit ISO-8601 UTC timestamp",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"type": "object"
}
project.deleteCheckpoint — Delete Checkpoint
Remove a named checkpoint from the project.
MCP tool: project_delete_checkpoint · CLI: curvebook-cli project.deleteCheckpoint [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"anyOf": [
{
"description": "Checkpoint ID to locate",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"description": "Checkpoint name to locate",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.inspect — Inspect Project
Inspect sheet structure, metadata, and upstream dependency edges.
MCP tool: project_inspect · CLI: curvebook-cli project.inspect [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"sheet_id": {
"anyOf": [
{
"description": "Optional sheet ID to focus dependency and section inspection on",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.instantiateTemplate — New Project From Template
Create a new project from a `.cbtemplate` archive.
MCP tool: project_instantiate_template · CLI: curvebook-cli project.instantiateTemplate [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded `.cbtemplate` archive bytes",
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Path to `.cbtemplate` archive file",
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional title override for the instantiated project",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.listCheckpoints — List Checkpoints
List named checkpoints stored in the project.
MCP tool: project_list_checkpoints · CLI: curvebook-cli project.listCheckpoints [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
}
project.new — New Project
Create a fresh empty CurveBook project.
MCP tool: project_new · CLI: curvebook-cli project.new [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"title": {
"anyOf": [
{
"description": "Title for the new project (defaults to `Untitled Project`)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.open — Open Project
Load a `.curvebook` archive or unpacked `.curvebook.d/` directory.
MCP tool: project_open · CLI: curvebook-cli project.open [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded `.curvebook` zip archive bytes",
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Filesystem path to `.curvebook` archive or `.curvebook.d/` directory",
"type": "string"
},
{
"type": "null"
}
]
},
"unpacked": {
"anyOf": [
{
"description": "Treat `path` as an unpacked `.curvebook.d/` project directory",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.recalculate — Recalculate All
Refresh live links and recalculate all downstream analyses and graphs.
MCP tool: project_recalculate · CLI: curvebook-cli project.recalculate [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"include_external_links": {
"anyOf": [
{
"description": "Refresh external delimited-file links before recalculating downstream analyses (default true)",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.restoreCheckpoint — Restore Checkpoint
Restore the document to a previously saved named checkpoint.
MCP tool: project_restore_checkpoint · CLI: curvebook-cli project.restoreCheckpoint [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"anyOf": [
{
"description": "Checkpoint ID to locate",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"description": "Checkpoint name to locate",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.save — Save Project
Save the active project atomically to `.curvebook`, unpacked directory, or bytes.
MCP tool: project_save · CLI: curvebook-cli project.save [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"path": {
"anyOf": [
{
"description": "Destination `.curvebook` archive path or `.curvebook.d/` directory",
"type": "string"
},
{
"type": "null"
}
]
},
"return_bytes": {
"anyOf": [
{
"description": "Include base64-encoded `.curvebook` bytes in response (defaults to true when `path` is omitted)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"unpacked": {
"anyOf": [
{
"description": "Save as an unpacked `.curvebook.d/` project directory",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
project.saveTemplate — Save Template
Export the project structure as a data-stripped `.cbtemplate` file.
MCP tool: project_save_template · CLI: curvebook-cli project.saveTemplate [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"path": {
"anyOf": [
{
"description": "Destination `.cbtemplate` file path",
"type": "string"
},
{
"type": "null"
}
]
},
"return_bytes": {
"anyOf": [
{
"description": "Include base64-encoded template bytes in response (defaults to true when `path` is omitted)",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
Edit & History (4)
edit.pasteImage — Paste Image
Paste or insert a PNG, JPEG, or TIFF raster image onto a graph annotation or multi-panel layout.
MCP tool: edit_paste_image · CLI: curvebook-cli edit.pasteImage [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"asset_id": {
"anyOf": [
{
"description": "Existing content-addressed image `asset_id` already stored in the project",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"badge_override": {
"anyOf": [
{
"description": "Optional badge label when pasting onto a LayoutSheet",
"type": "string"
},
{
"type": "null"
}
]
},
"border": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"color": {
"anyOf": [
{
"description": "Border stroke color (`#RRGGBB` / `#RRGGBBAA` or `[r, g, b, a]`)"
},
{
"type": "null"
}
]
},
"dash": {
"anyOf": [
{
"description": "Border dash style (`solid`, `dashed`, `dotted`, `dash_dot`, etc.)"
},
{
"type": "null"
}
]
},
"width_pt": {
"anyOf": [
{
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded PNG, JPEG, or TIFF image payload",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"crop": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bottom_pt": {
"anyOf": [
{
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"left_pt": {
"anyOf": [
{
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"right_pt": {
"anyOf": [
{
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"top_pt": {
"anyOf": [
{
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"lock_aspect_ratio": {
"anyOf": [
{
"description": "Preserve intrinsic image aspect ratio when resizing one dimension (default `true`)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"panel_id": {
"anyOf": [
{
"description": "Optional panel identifier when pasting onto a LayoutSheet",
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Regular local file path to a PNG, JPEG, or TIFF image (URLs rejected)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"rotation_deg": {
"anyOf": [
{
"description": "Clockwise rotation in degrees around the center of `bounds_pt`",
"maximum": 3600.0,
"minimum": -3600.0,
"type": "number"
},
{
"type": "null"
}
]
},
"target_sheet_id": {
"description": "Target GraphSheet or LayoutSheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"target_sheet_id"
],
"type": "object"
}
edit.pasteResultTable — Paste Result Table
Paste a live result or data table onto a graph annotation or multi-panel layout.
MCP tool: edit_paste_result_table · CLI: curvebook-cli edit.pasteResultTable [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"panel_id": {
"anyOf": [
{
"description": "Optional panel identifier when pasting onto a LayoutSheet",
"type": "string"
},
{
"type": "null"
}
]
},
"selected_cols": {
"anyOf": [
{
"description": "Optional zero-based indices to include",
"items": {
"description": "Index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"selected_rows": {
"anyOf": [
{
"description": "Optional zero-based indices to include",
"items": {
"description": "Index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"description": "Source ResultSheet (or DataSheet for Layout target) ID",
"minLength": 1,
"type": "string"
},
"style": {
"anyOf": [
{
"description": "Optional EmbeddedTableStyle overrides",
"type": "object"
},
{
"type": "null"
}
]
},
"tab_id": {
"anyOf": [
{
"description": "Optional ResultTab ID or title (defaults to first tab)",
"type": "string"
},
{
"type": "null"
}
]
},
"target_sheet_id": {
"description": "Target GraphSheet or LayoutSheet ID",
"minLength": 1,
"type": "string"
},
"transpose": {
"anyOf": [
{
"description": "Transpose rows and columns when rendering the pasted table",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"source_sheet_id",
"target_sheet_id"
],
"type": "object"
}
edit.redo — Redo
Redo the most recently undone document edit.
MCP tool: edit_redo · CLI: curvebook-cli edit.redo [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
}
edit.undo — Undo
Undo the most recent document-mutating command.
MCP tool: edit_undo · CLI: curvebook-cli edit.undo [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
}
Sheets & Pipelines (11)
sheet.clonePipeline — Clone Pipeline
Clone a table structure and downstream analysis/graph/layout pipeline for a new experimental run.
MCP tool: sheet_clone_pipeline · CLI: curvebook-cli sheet.clonePipeline [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"clear_column_titles": {
"anyOf": [
{
"description": "Clear dataset column titles (defaults to false)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clear_data": {
"anyOf": [
{
"description": "Convenience flag overriding keep_x_values / clear_y_values",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clear_results": {
"anyOf": [
{
"description": "Skip immediate recalculation and leave cloned ResultSheets stale",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clear_row_titles": {
"anyOf": [
{
"description": "Clear row titles (defaults to false)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clear_y_values": {
"anyOf": [
{
"description": "Clear Y values when cloning pipeline (defaults to true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clone_analyses": {
"anyOf": [
{
"description": "Clone downstream ResultSheets (defaults to true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clone_graphs": {
"anyOf": [
{
"description": "Clone downstream GraphSheets (defaults to true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clone_layouts": {
"anyOf": [
{
"description": "Clone downstream LayoutSheets (defaults to true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"keep_x_values": {
"anyOf": [
{
"description": "Preserve X values when cloning (defaults to true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"new_sheet_id": {
"anyOf": [
{
"description": "Optional explicit ID for the cloned DataSheet",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"override_replicates": {
"anyOf": [
{
"description": "Optional new replicate subcolumn count",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"prefix": {
"anyOf": [
{
"description": "Optional ID prefix for cloned sheets",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Source root DataSheet (or family member) ID to clone",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Optional title for cloned DataSheet",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
sheet.createData — New Data Table
Create a typed data table sheet and optional paired info/graph sheets.
MCP tool: sheet_create_data · CLI: curvebook-cli sheet.createData [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"auto_family": {
"anyOf": [
{
"description": "Auto-create both linked InfoSheet and uninitialized GraphSheet",
"type": "boolean"
},
{
"type": "null"
}
]
},
"auto_graph": {
"anyOf": [
{
"description": "Auto-create uninitialized GraphSheet for this table",
"type": "boolean"
},
{
"type": "null"
}
]
},
"auto_info": {
"anyOf": [
{
"description": "Auto-create or attach paired InfoSheet",
"type": "boolean"
},
{
"type": "null"
}
]
},
"censored_code": {
"anyOf": [
{
"description": "Numeric status code denoting Censored rows on Survival tables",
"type": "integer"
},
{
"type": "null"
}
]
},
"cols": {
"anyOf": [
{
"description": "Initial column / data-set count",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"column_factor_title": {
"anyOf": [
{
"description": "Column factor title for Grouped/Contingency tables",
"type": "string"
},
{
"type": "null"
}
]
},
"design_hint": {
"anyOf": [
{
"description": "Column table design hint (`unpaired`, `paired`, `precomputed`)"
},
{
"type": "null"
}
]
},
"event_code": {
"anyOf": [
{
"description": "Numeric status code denoting Event rows on Survival tables",
"type": "integer"
},
{
"type": "null"
}
]
},
"graph_sheet_id": {
"anyOf": [
{
"description": "Optional explicit GraphSheet ID to create",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"info_sheet_id": {
"anyOf": [
{
"description": "Optional explicit InfoSheet ID to link or create",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"description": "Table archetype (`xy`, `column`, `grouped`, `contingency`, `survival`, `parts_of_whole`, `multiple_variables`, `nested`)",
"type": "string"
},
{
"type": "null"
}
]
},
"replicates": {
"anyOf": [
{
"description": "Raw replicate subcolumns (or biological units for nested)",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"row_factor_title": {
"anyOf": [
{
"description": "Row factor title for Grouped/Contingency tables",
"type": "string"
},
{
"type": "null"
}
]
},
"rows": {
"anyOf": [
{
"description": "Initial row count",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional explicit DataSheet ID (auto-generated if omitted)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"subcolumn_mode": {
"anyOf": [
{
"description": "Replicate subcolumn mode string or structured SubcolumnMode object"
},
{
"type": "null"
}
]
},
"time_title": {
"anyOf": [
{
"description": "Elapsed time title for Survival tables",
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional human-readable table title",
"type": "string"
},
{
"type": "null"
}
]
},
"variables": {
"anyOf": [
{
"description": "Variable definitions for MultipleVariables tables",
"items": {
"description": "Variable name or {title, role}"
},
"type": "array"
},
{
"type": "null"
}
]
},
"x_mode": {
"anyOf": [
{
"description": "Optional X-column mode string or structured XColumnMode object"
},
{
"type": "null"
}
]
},
"x_title": {
"anyOf": [
{
"description": "Optional X-axis column title for XY tables",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object",
"x-deprecated-aliases": {
"kind": [
"archetype"
]
}
}
sheet.delete — Delete Sheet
Delete a sheet and optionally cascade to its dependent family.
MCP tool: sheet_delete · CLI: curvebook-cli sheet.delete [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cascade": {
"anyOf": [
{
"description": "Delete downstream dependents (true) or refuse when dependents exist (false)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "ID of the sheet to delete",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
sheet.duplicate — Duplicate Sheet
Duplicate a single sheet within its section.
MCP tool: sheet_duplicate · CLI: curvebook-cli sheet.duplicate [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"frozen": {
"anyOf": [
{
"description": "Preserve or set frozen flag on duplicated DataSheet (defaults to false)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"new_sheet_id": {
"anyOf": [
{
"description": "Optional explicit ID for the duplicated sheet",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Source sheet ID to duplicate",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Optional title override for the duplicate",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
sheet.duplicateFamily — Duplicate Family
Duplicate a data sheet together with its paired info, analyses, graphs, and layouts.
MCP tool: sheet_duplicate_family · CLI: curvebook-cli sheet.duplicateFamily [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"clear_data": {
"anyOf": [
{
"description": "Clear Y data and reset results when true (defaults to false)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"new_sheet_id": {
"anyOf": [
{
"description": "Optional explicit ID for duplicated DataSheet",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"prefix": {
"anyOf": [
{
"description": "ID prefix for duplicated sheets",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Root sheet ID whose family should be duplicated",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Optional title override for duplicated DataSheet",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
sheet.extractResultTab — Extract Result Tab to Data Table
Create a reactive linked DataSheet from a ResultSheet sub-tab (such as PC scores, residuals, or cleaned data).
MCP tool: sheet_extract_result_tab · CLI: curvebook-cli sheet.extractResultTab [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"archetype": {
"anyOf": [
{
"description": "Target table archetype: auto (default), column, multiple_variables, or grouped",
"enum": [
"auto",
"column",
"multiple_variables",
"grouped"
],
"type": "string"
},
{
"type": "null"
}
]
},
"auto_graph": {
"description": "When true, also create an uninitialized GraphSheet linked to the extracted DataSheet",
"type": "boolean"
},
"result_sheet_id": {
"description": "Source ResultSheet ID whose tab should be extracted",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"anyOf": [
{
"description": "Optional destination DataSheet ID (auto-generated when omitted)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"tab_id": {
"anyOf": [
{
"description": "ResultTab ID or exact title (defaults to first tab)",
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional title for the extracted linked DataSheet",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"result_sheet_id"
],
"type": "object"
}
sheet.freeze — Freeze Sheet
Lock a DataSheet against accidental cell, link, or structural edits.
MCP tool: sheet_freeze · CLI: curvebook-cli sheet.freeze [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "DataSheet ID to freeze against edits",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
sheet.rename — Rename Sheet
Rename any sheet in Data, Info, Results, Graphs, or Layouts.
MCP tool: sheet_rename · CLI: curvebook-cli sheet.rename [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "ID of sheet to rename",
"minLength": 1,
"type": "string"
},
"title": {
"description": "New title for the sheet",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"title"
],
"type": "object",
"x-deprecated-aliases": {
"sheet_id": [
"id"
],
"title": [
"new_title"
]
}
}
sheet.reorder — Reorder Sheet
Reorder sheets within a project navigator folder.
MCP tool: sheet_reorder · CLI: curvebook-cli sheet.reorder [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"folder": {
"anyOf": [
{
"description": "Sheet folder (`data`, `info`, `results`, `graphs`, `layouts`)",
"type": "string"
},
{
"type": "null"
}
]
},
"from_index": {
"anyOf": [
{
"description": "Source zero-based index for index swap/move",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"index": {
"anyOf": [
{
"description": "Target zero-based index when reordering by `sheet_id`",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"order": {
"anyOf": [
{
"description": "Complete ordered list of sheet IDs for `section`",
"items": {
"description": "Sheet ID",
"minLength": 1,
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"section": {
"anyOf": [
{
"description": "Navigator section name (`data`, `info`, `results`, `analyses`, `graphs`, `layouts`)",
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Target sheet ID to move to `index`",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"to_index": {
"anyOf": [
{
"description": "Destination zero-based index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
sheet.select — Select Sheet
Select the active sheet in the navigator or family pane.
MCP tool: sheet_select · CLI: curvebook-cli sheet.select [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"mode": {
"anyOf": [
{
"description": "Selection pane (`navigator` or `family`, defaults to `navigator`)",
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Sheet ID to select",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
sheet.unfreeze — Unfreeze Sheet
Unlock a frozen DataSheet and recalculate linked dependents.
MCP tool: sheet_unfreeze · CLI: curvebook-cli sheet.unfreeze [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "DataSheet ID to unfreeze and recalculate",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Data Tables (29)
table.clearCells — Clear Cells
Clear single cells, lists, ranges, or an entire table, optionally breaking live links.
MCP tool: table_clear_cells · CLI: curvebook-cli table.clearCells [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"all": {
"description": "Clear all data cells across the sheet",
"type": "boolean"
},
"cells": {
"description": "List of cell coordinates to clear",
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"clear_x": {
"description": "When `all` is true, also clear X/time cells",
"type": "boolean"
},
"col": {
"description": "Single cell column index",
"minimum": 0,
"type": "integer"
},
"col_end": {
"description": "Range end column",
"minimum": 0,
"type": "integer"
},
"col_start": {
"description": "Range start column",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"range": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"end": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"start": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
}
},
"required": [
"start"
],
"type": "object"
},
"region_id": {
"description": "When `unlink` is true, detach only the linked region matching this identifier",
"minLength": 1,
"type": "string"
},
"row": {
"description": "Single cell row index",
"minimum": 0,
"type": "integer"
},
"row_end": {
"description": "Range end row",
"minimum": 0,
"type": "integer"
},
"row_start": {
"description": "Range start row",
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"subcol": {
"description": "Single cell subcolumn index",
"minimum": 0,
"type": "integer"
},
"subcol_end": {
"description": "Range end subcolumn",
"minimum": 0,
"type": "integer"
},
"subcol_start": {
"description": "Range start subcolumn",
"minimum": 0,
"type": "integer"
},
"unlink": {
"description": "Detach live linked regions on this sheet (all regions unless `region_id` is supplied)",
"type": "boolean"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.convertArchetype — Convert Table Archetype
Preview or convert a data table between Column, Grouped, XY, and MultipleVariables archetypes.
MCP tool: table_convert_archetype · CLI: curvebook-cli table.convertArchetype [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"allow_lossy": {
"description": "Permit conversion even if subcolumns or incompatible columns are reshaped/dropped (default false)",
"type": "boolean"
},
"preview_only": {
"description": "Return conversion preview without mutating document (default false)",
"type": "boolean"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"target_kind": {
"description": "Target table archetype",
"enum": [
"Column",
"column",
"columnar",
"Grouped",
"grouped",
"Xy",
"XY",
"xy",
"Contingency",
"contingency",
"MultipleVariables",
"multiple_variables",
"multiple-variables",
"multivariate"
],
"type": "string"
}
},
"required": [
"sheet_id",
"target_kind"
],
"type": "object"
}
table.excludeCells — Exclude Cells
Toggle the exclusion mask on single cells, cell lists, or ranges (including X/time cells).
MCP tool: table_exclude_cells · CLI: curvebook-cli table.excludeCells [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cells": {
"description": "List of cell coordinates",
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"col": {
"description": "Column index",
"minimum": 0,
"type": "integer"
},
"col_end": {
"description": "Range end column",
"minimum": 0,
"type": "integer"
},
"col_start": {
"description": "Range start column",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"excluded": {
"description": "Whether to exclude (true) or include (false); default true",
"type": "boolean"
},
"range": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"end": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"start": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
}
},
"required": [
"start"
],
"type": "object"
},
"row": {
"description": "Row index",
"minimum": 0,
"type": "integer"
},
"row_end": {
"description": "Range end row",
"minimum": 0,
"type": "integer"
},
"row_start": {
"description": "Range start row",
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"subcol": {
"description": "Subcolumn index",
"minimum": 0,
"type": "integer"
},
"subcol_end": {
"description": "Range end subcolumn",
"minimum": 0,
"type": "integer"
},
"subcol_start": {
"description": "Range start subcolumn",
"minimum": 0,
"type": "integer"
},
"target": {
"description": "Set to `x` to target X/time column cells",
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.excludeCellsWithReason — Exclude Cells With Reason
Exclude cells and attach a structured audit reason tag, note, and UTC timestamp.
MCP tool: table_exclude_cells_with_reason · CLI: curvebook-cli table.excludeCellsWithReason [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Single cell column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"coords": {
"description": "List of coordinates to exclude",
"items": {
"anyOf": [
{
"description": "Coordinate tuple [row, col] or [row, col, subcol]",
"items": {
"description": "Non-negative coordinate index",
"minimum": 0,
"type": "integer"
},
"maxItems": 3,
"minItems": 2,
"type": "array"
},
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
}
],
"description": "Cell coordinate `{ row, col, subcol? }` or `[row, col, subcol?]`"
},
"minItems": 1,
"type": "array"
},
"note": {
"anyOf": [
{
"description": "Optional explanatory audit note",
"type": "string"
},
{
"type": "null"
}
]
},
"range": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"end": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"start": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
}
},
"required": [
"start"
],
"type": "object"
},
"reason_tag": {
"description": "Short non-empty audit reason tag",
"minLength": 1,
"type": "string"
},
"row": {
"description": "Single cell row index",
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"subcol": {
"description": "Single cell subcolumn index",
"minimum": 0,
"type": "integer"
},
"timestamp_utc": {
"anyOf": [
{
"description": "Optional explicit UTC timestamp string",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id",
"reason_tag"
],
"type": "object"
}
table.exclusionAuditReport — Exclusion Audit Report
Generate a read-only audit report of excluded cells and their reason annotations.
MCP tool: table_exclusion_audit_report · CLI: curvebook-cli table.exclusionAuditReport [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"sheet_id": {
"anyOf": [
{
"description": "Optional sheet ID to filter report",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
table.exportCsv — Export Table CSV / TSV
Export a data or result sheet to CSV/TSV text and optionally write atomically to disk.
MCP tool: table_export_csv · CLI: curvebook-cli table.exportCsv [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"delimiter": {
"anyOf": [
{
"description": "Delimiter character (`,`, `\\t`/`tab`, `;`, or 1 char)",
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Data or Result sheet identifier to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.importCsv — Import CSV / TSV
Import CSV or TSV data from a file path or inline text into a new or existing data table.
MCP tool: table_import_csv · CLI: curvebook-cli table.importCsv [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"anchor": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Anchor column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Anchor row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Anchor subcolumn index",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"archetype": {
"anyOf": [
{
"description": "Target archetype (XY, Column, Grouped, Contingency, Survival, PartsOfWhole, MultipleVariables, Nested)",
"type": "string"
},
{
"type": "null"
}
]
},
"csv": {
"anyOf": [
{
"description": "Inline CSV/TSV content",
"type": "string"
},
{
"type": "null"
}
]
},
"decimal_separator": {
"anyOf": [
{
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": "string"
},
{
"type": "null"
}
]
},
"delimiter": {
"anyOf": [
{
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": "string"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"baseline": {
"anyOf": [
{
"description": "Optional ImportFilterSpec baseline tuple `[col, operation]`"
},
{
"type": "null"
}
]
},
"col_end": {
"anyOf": [
{
"description": "Last zero-based source column to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"col_start": {
"anyOf": [
{
"description": "First zero-based source column to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"col_window": {
"anyOf": [
{
"description": "Inclusive zero-based [start_col, end_col] slice",
"items": {
"description": "Column index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"decimate_every_k": {
"anyOf": [
{
"description": "Keep every k-th source row (>= 1)",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"exclude_row_predicate": {
"anyOf": [
{
"description": "Optional row-level exclusion predicate formula",
"type": "string"
},
{
"type": "null"
}
]
},
"parse_asterisk_exclusions": {
"anyOf": [
{
"description": "Interpret `*` suffix tokens as excluded cells",
"type": "boolean"
},
{
"type": "null"
}
]
},
"row_end": {
"anyOf": [
{
"description": "Last zero-based source row to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"row_start": {
"anyOf": [
{
"description": "First zero-based source row to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"row_window": {
"anyOf": [
{
"description": "Inclusive zero-based [start_row, end_row] slice",
"items": {
"description": "Row index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"unstack_group_column": {
"anyOf": [
{
"description": "Optional grouping column index for unstacking",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"has_header": {
"description": "Treat first row as column headers",
"type": "boolean"
},
"has_row_titles": {
"description": "Treat first column as row titles",
"type": "boolean"
},
"header_rows": {
"description": "Number of header rows to combine into column titles (default 1 when `has_header` is true)",
"maximum": 16,
"minimum": 0,
"type": "integer"
},
"link": {
"description": "When importing from `path` into an existing sheet, keep a live file link",
"type": "boolean"
},
"mode": {
"description": "Placement mode: overwrite, insert_rows, append_rows, append_columns",
"type": "string"
},
"normalize_decimal": {
"description": "Infer European decimal separator when ambiguous",
"type": "boolean"
},
"path": {
"anyOf": [
{
"description": "Filesystem path to CSV/TSV file",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"propagate_title_header": {
"description": "Propagate header row titles",
"type": "boolean"
},
"replace": {
"description": "Replace existing target sheet instead of placing into region",
"type": "boolean"
},
"replicates": {
"description": "Replicate count per group (default 1)",
"minimum": 1,
"type": "integer"
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target sheet ID (auto-generated if omitted)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"skip_contiguous_blanks": {
"description": "Skip contiguous blanks",
"type": "boolean"
},
"start_col": {
"description": "Target anchor column",
"minimum": 0,
"type": "integer"
},
"start_row": {
"description": "Target anchor row",
"minimum": 0,
"type": "integer"
},
"start_subcol": {
"description": "Target anchor subcolumn",
"minimum": 0,
"type": "integer"
},
"subcolumn_mode": {
"anyOf": [
{
"description": "Subcolumn mode name or object"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Title for imported sheet",
"type": "string"
},
{
"type": "null"
}
]
},
"transpose": {
"description": "Transpose imported table",
"type": "boolean"
}
},
"required": [],
"type": "object"
}
table.importPlateMap — Import Plate Map
Map 96-well or 384-well microplate readings and well roles into a structured data sheet.
MCP tool: table_import_plate_map · CLI: curvebook-cli table.importPlateMap [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"geometry": {
"anyOf": [
{
"anyOf": [
{
"enum": [
96,
384
],
"type": "integer"
},
{
"description": "Plate geometry string",
"minLength": 1,
"type": "string"
}
],
"description": "Plate geometry: 96, 384, `Wells96`, or `Wells384`"
},
{
"type": "null"
}
]
},
"roles": {
"anyOf": [
{
"description": "Array of per-well role definitions",
"items": {
"description": "PlateWellRole"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"subtract_blank_mean": {
"description": "Subtract mean of Blank wells from Treatment readings",
"type": "boolean"
},
"target_kind": {
"anyOf": [
{
"description": "Target archetype (Grouped, XY, Column, MultipleVariables)",
"type": "string"
},
{
"type": "null"
}
]
},
"template": {
"anyOf": [
{
"description": "PlateMapTemplate object or `.cbtemplate` JSON string"
},
{
"type": "null"
}
]
},
"template_name": {
"anyOf": [
{
"description": "Template name when building from `roles`",
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Imported sheet title (default `Plate Data`)",
"type": "string"
},
{
"type": "null"
}
]
},
"values": {
"anyOf": [
{
"description": "1D array of well readings",
"items": {
"anyOf": [
{
"description": "Well reading",
"type": "number"
},
{
"type": "null"
}
]
},
"type": "array"
},
{
"description": "2D plate row/col readings",
"items": {
"description": "Row of well readings",
"items": {
"anyOf": [
{
"description": "Well reading",
"type": "number"
},
{
"type": "null"
}
]
},
"type": "array"
},
"type": "array"
}
],
"description": "Flat (96/384) or 2D (8x12 / 16x24) plate readings array of finite numbers or nulls"
},
"x_title": {
"anyOf": [
{
"description": "X/concentration axis title (default `Concentration`)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"values"
],
"type": "object"
}
table.importPrism — Import External Archive
Import an external ZIP-based project archive from disk, base64, or raw byte array.
MCP tool: table_import_prism · CLI: curvebook-cli table.importPrism [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bytes": {
"description": "Raw byte array of archive contents",
"items": {
"description": "Byte value 0..=255",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded external archive bytes",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"merge": {
"description": "Merge imported sheets into existing document instead of replacing (default false)",
"type": "boolean"
},
"path": {
"anyOf": [
{
"description": "Filesystem path to external archive",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
table.importPzfx — Import XML Project
Import an XML project document from disk, inline XML string, or base64 payload.
MCP tool: table_import_pzfx · CLI: curvebook-cli table.importPzfx [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded XML project bytes",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"merge": {
"description": "Merge imported sheets into existing document instead of replacing (default false)",
"type": "boolean"
},
"path": {
"anyOf": [
{
"description": "Filesystem path to XML project file",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"xml": {
"anyOf": [
{
"description": "Inline XML project string",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
table.importTidyLong — Import Tidy Long Table
Pivot a long-format table (rows/headers or CSV/TSV file) into a Column, Grouped, XY, or MultipleVariables sheet.
MCP tool: table_import_tidy_long · CLI: curvebook-cli table.importTidyLong [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"csv": {
"anyOf": [
{
"description": "Inline delimited tidy table text",
"type": "string"
},
{
"type": "null"
}
]
},
"decimal_sep": {
"anyOf": [
{
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": "string"
},
{
"type": "null"
}
]
},
"delimiter": {
"anyOf": [
{
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"group_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"headers": {
"anyOf": [
{
"description": "Column header names when using `rows`",
"items": {
"description": "Header name",
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"mapping": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"excluded_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"group_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"replicate_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"value_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"x_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"normalize_decimal": {
"description": "Infer European decimal separator when ambiguous",
"type": "boolean"
},
"path": {
"anyOf": [
{
"description": "Filesystem path to delimited tidy file",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"replicate_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"rows": {
"anyOf": [
{
"description": "2D tidy record rows",
"items": {
"description": "Record row",
"items": {
"description": "Scalar cell"
},
"type": "array"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"target_kind": {
"anyOf": [
{
"description": "Target archetype (Grouped, Column, XY, MultipleVariables)",
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Imported sheet title (default `Tidy Import`)",
"type": "string"
},
{
"type": "null"
}
]
},
"value_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
},
"x_col": {
"anyOf": [
{
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based header index or header name"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
table.importXlsx — Import XLSX Workbook
Import one or more worksheets (or list available sheets) from an .xlsx workbook file, base64, or byte array.
MCP tool: table_import_xlsx · CLI: curvebook-cli table.importXlsx [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"archetype": {
"anyOf": [
{
"description": "Optional target archetype (XY, Column, Grouped, Contingency, Survival, PartsOfWhole, MultipleVariables, Nested); inferred per sheet when omitted",
"type": "string"
},
{
"type": "null"
}
]
},
"bytes": {
"anyOf": [
{
"description": "Raw byte array of `.xlsx` workbook",
"items": {
"description": "Byte value 0..=255",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded `.xlsx` workbook bytes",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"has_header": {
"description": "Treat first row(s) of each sheet as column headers (default true)",
"type": "boolean"
},
"has_row_titles": {
"description": "Treat first column of each sheet as row titles (default false)",
"type": "boolean"
},
"header_rows": {
"description": "Number of top header rows to merge into column titles (default 1 when `has_header` is true)",
"maximum": 16,
"minimum": 0,
"type": "integer"
},
"include_hidden": {
"description": "Include hidden worksheets when no explicit `sheets`/`sheet_indices` are supplied",
"type": "boolean"
},
"list_sheets": {
"description": "When true, enumerate workbook sheet names/indices without mutating the document",
"type": "boolean"
},
"merge": {
"description": "Merge imported worksheets into the current project instead of replacing it (default false)",
"type": "boolean"
},
"path": {
"anyOf": [
{
"description": "Filesystem path to `.xlsx` workbook",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_indices": {
"anyOf": [
{
"description": "Zero-based worksheet indices to import",
"items": {
"description": "Sheet index >= 0",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheets": {
"anyOf": [
{
"description": "Worksheet tab names to import (imports all visible sheets if omitted)",
"items": {
"description": "Worksheet name",
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"subcolumn_mode": {
"anyOf": [
{
"description": "Subcolumn mode name or object"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
table.paste — Paste Special
Paste delimited clipboard text or a 2D cell grid into a table with placement, transpose, and filter options.
MCP tool: table_paste · CLI: curvebook-cli table.paste [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"anchor": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Anchor column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Anchor row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Anchor subcolumn index",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"decimal_separator": {
"anyOf": [
{
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": "string"
},
{
"type": "null"
}
]
},
"delimiter": {
"anyOf": [
{
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": "string"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"baseline": {
"anyOf": [
{
"description": "Optional ImportFilterSpec baseline tuple `[col, operation]`"
},
{
"type": "null"
}
]
},
"col_end": {
"anyOf": [
{
"description": "Last zero-based source column to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"col_start": {
"anyOf": [
{
"description": "First zero-based source column to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"col_window": {
"anyOf": [
{
"description": "Inclusive zero-based [start_col, end_col] slice",
"items": {
"description": "Column index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"decimate_every_k": {
"anyOf": [
{
"description": "Keep every k-th source row (>= 1)",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"exclude_row_predicate": {
"anyOf": [
{
"description": "Optional row-level exclusion predicate formula",
"type": "string"
},
{
"type": "null"
}
]
},
"parse_asterisk_exclusions": {
"anyOf": [
{
"description": "Interpret `*` suffix tokens as excluded cells",
"type": "boolean"
},
{
"type": "null"
}
]
},
"row_end": {
"anyOf": [
{
"description": "Last zero-based source row to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"row_start": {
"anyOf": [
{
"description": "First zero-based source row to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"row_window": {
"anyOf": [
{
"description": "Inclusive zero-based [start_row, end_row] slice",
"items": {
"description": "Row index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"unstack_group_column": {
"anyOf": [
{
"description": "Optional grouping column index for unstacking",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"mode": {
"description": "Placement mode: overwrite, insert_rows, append_rows, append_columns",
"type": "string"
},
"normalize_decimal": {
"description": "Infer European comma decimal separator when ambiguous",
"type": "boolean"
},
"propagate_title_header": {
"description": "Promote first pasted row into column headers",
"type": "boolean"
},
"rows": {
"description": "2D array of pasted cell values",
"items": {
"description": "Row of cell values",
"items": {
"anyOf": [
{
"description": "Finite numeric cell value",
"type": "number"
},
{
"description": "String or numeric token (trailing `*` sets excluded when enabled)",
"type": "string"
},
{
"description": "Boolean text cell",
"type": "boolean"
},
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"value": {
"description": "Cell scalar value: finite number, text/numeric string, boolean, or null"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Cell scalar value: finite number, text/numeric string, boolean, cell object, or null to clear"
},
"type": "array"
},
"type": "array"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"skip_contiguous_blanks": {
"description": "Skip empty runs when placing cells",
"type": "boolean"
},
"start_col": {
"description": "Anchor column index (default 0)",
"minimum": 0,
"type": "integer"
},
"start_row": {
"description": "Anchor row index (default 0)",
"minimum": 0,
"type": "integer"
},
"start_subcol": {
"description": "Anchor subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
},
"text": {
"description": "Delimited clipboard text (TSV/CSV)",
"type": "string"
},
"transpose": {
"description": "Transpose pasted rows and columns",
"type": "boolean"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.pasteLink — Paste Link
Attach a live linked region from an internal sheet or external delimited file and sync immediately.
MCP tool: table_paste_link · CLI: curvebook-cli table.pasteLink [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"anchor": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Anchor column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Anchor row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Anchor subcolumn index",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"baseline": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"anyOf": [
{
"description": "Zero-based reference baseline column index (default 0)",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"op": {
"anyOf": [
{
"description": "Baseline operation: difference, ratio, percent_change, or fractional_change",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"decimal_separator": {
"anyOf": [
{
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": "string"
},
{
"type": "null"
}
]
},
"delimiter": {
"anyOf": [
{
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": "string"
},
{
"type": "null"
}
]
},
"exclude_row_predicate": {
"anyOf": [
{
"description": "Optional predicate excluding matching linked rows",
"type": "string"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"baseline": {
"anyOf": [
{
"description": "Optional ImportFilterSpec baseline tuple `[col, operation]`"
},
{
"type": "null"
}
]
},
"col_end": {
"anyOf": [
{
"description": "Last zero-based source column to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"col_start": {
"anyOf": [
{
"description": "First zero-based source column to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"col_window": {
"anyOf": [
{
"description": "Inclusive zero-based [start_col, end_col] slice",
"items": {
"description": "Column index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"decimate_every_k": {
"anyOf": [
{
"description": "Keep every k-th source row (>= 1)",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"exclude_row_predicate": {
"anyOf": [
{
"description": "Optional row-level exclusion predicate formula",
"type": "string"
},
{
"type": "null"
}
]
},
"parse_asterisk_exclusions": {
"anyOf": [
{
"description": "Interpret `*` suffix tokens as excluded cells",
"type": "boolean"
},
{
"type": "null"
}
]
},
"row_end": {
"anyOf": [
{
"description": "Last zero-based source row to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"row_start": {
"anyOf": [
{
"description": "First zero-based source row to include",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"row_window": {
"anyOf": [
{
"description": "Inclusive zero-based [start_row, end_row] slice",
"items": {
"description": "Row index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"unstack_group_column": {
"anyOf": [
{
"description": "Optional grouping column index for unstacking",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"link_id": {
"anyOf": [
{
"description": "Custom link identifier",
"type": "string"
},
{
"type": "null"
}
]
},
"link_spec": {
"anyOf": [
{
"description": "Direct ImportLinkSpec payload",
"type": "object"
},
{
"type": "null"
}
]
},
"mode": {
"description": "Placement mode: overwrite, insert_rows, append_rows, append_columns",
"type": "string"
},
"normalize_decimal": {
"description": "Infer European decimal separator when ambiguous",
"type": "boolean"
},
"propagate_title_header": {
"description": "Propagate source titles to target headers",
"type": "boolean"
},
"provenance": {
"anyOf": [
{
"description": "Custom provenance note recorded in linked InfoSheet",
"type": "string"
},
{
"type": "null"
}
]
},
"skip_contiguous_blanks": {
"description": "Skip contiguous blanks",
"type": "boolean"
},
"source_kind": {
"anyOf": [
{
"description": "Explicit source kind: data, result, analyzable_result, terminal_result",
"type": "string"
},
{
"type": "null"
}
]
},
"source_path": {
"anyOf": [
{
"description": "External delimited file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_range": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"end": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"start": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
}
},
"required": [
"start"
],
"type": "object"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"anyOf": [
{
"description": "Internal source Data or Result sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"start_col": {
"description": "Target anchor column",
"minimum": 0,
"type": "integer"
},
"start_row": {
"description": "Target anchor row",
"minimum": 0,
"type": "integer"
},
"start_subcol": {
"description": "Target anchor subcolumn",
"minimum": 0,
"type": "integer"
},
"tab_id": {
"anyOf": [
{
"description": "Result sheet tab ID or title",
"type": "string"
},
{
"type": "null"
}
]
},
"target_sheet_id": {
"description": "Destination data sheet identifier",
"minLength": 1,
"type": "string"
},
"transpose": {
"description": "Transpose source matrix",
"type": "boolean"
}
},
"required": [
"target_sheet_id"
],
"type": "object"
}
table.randomSampleRows — Random Sample Rows
Draw a reproducible Fisher-Yates random sample of rows (optional stratification) into a new data sheet.
MCP tool: table_random_sample_rows · CLI: curvebook-cli table.randomSampleRows [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"info_sheet_id": {
"anyOf": [
{
"description": "Optional InfoSheet ID for recording sampling provenance constants",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"proportional_allocation": {
"anyOf": [
{
"description": "Use proportional stratum allocation when stratified (default true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sample_size": {
"description": "Number of rows to draw without replacement",
"minimum": 1,
"type": "integer"
},
"seed": {
"anyOf": [
{
"description": "Deterministic 64-bit PRNG seed (default 42)",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional destination DataSheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"description": "Source DataSheet or analyzable ResultSheet ID",
"minLength": 1,
"type": "string"
},
"stratify_column": {
"anyOf": [
{
"description": "Optional zero-based stratification column index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional destination sheet title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"source_sheet_id",
"sample_size"
],
"type": "object"
}
table.randomizeGroups — Randomize Subjects to Groups
Deterministically allocate subjects across treatment groups (complete-balanced or permuted-block) and upsert ARRIVE constants on an InfoSheet.
MCP tool: table_randomize_groups · CLI: curvebook-cli table.randomizeGroups [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"block_sizes": {
"anyOf": [
{
"description": "Block sizes (each a positive multiple of sum of weights) for `permuted_block`",
"items": {
"description": "Block size",
"minimum": 1,
"type": "integer"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
},
"groups": {
"description": "Treatment arm names or `{label, weight}` allocation objects",
"items": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"label": {
"description": "Treatment arm label",
"minLength": 1,
"type": "string"
},
"weight": {
"description": "Allocation weight",
"minimum": 1,
"type": "integer"
}
},
"required": [
"label"
],
"type": "object"
}
]
},
"minItems": 1,
"type": "array"
},
"info_sheet_id": {
"anyOf": [
{
"description": "Optional target InfoSheet ID for ARRIVE randomization constants",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"scheme": {
"anyOf": [
{
"description": "Allocation scheme (`complete_balanced` or `permuted_block`, default `complete_balanced`)",
"enum": [
"complete_balanced",
"permuted_block"
],
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"description": "Deterministic 64-bit PRNG seed (default 1)",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional destination DataSheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"subject_count": {
"anyOf": [
{
"description": "Number of subjects (auto-numbered 1..=N when `subject_ids` is omitted)",
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"subject_ids": {
"anyOf": [
{
"description": "Explicit subject ID list",
"items": {
"description": "Subject ID",
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional destination sheet title (default `Randomization Schedule`)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"groups"
],
"type": "object"
}
table.recodeLevels — Recode Categorical Levels
Map and rewrite categorical values in a MultipleVariables column.
MCP tool: table_recode_levels · CLI: curvebook-cli table.recodeLevels [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based variable index or column title"
},
"mappings": {
"anyOf": [
{
"description": "Array of {from, to} recode rules",
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"from": {
"description": "Existing level text",
"type": "string"
},
"to": {
"description": "Replacement level text",
"type": "string"
}
},
"required": [
"from",
"to"
],
"type": "object"
},
"type": "array"
},
{
"additionalProperties": {
"type": "string"
},
"type": "object"
}
],
"description": "Recode mapping: object `{ old: new }` or array of `{ from, to }`"
},
"sheet_id": {
"description": "Target MultipleVariables sheet identifier",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Fallback variable column title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id",
"mappings"
],
"type": "object"
}
table.setCalculatedVariable — Add / Update Calculated Variable
Create or update a formula-driven variable column in a MultipleVariables table and evaluate it.
MCP tool: table_set_calculated_variable · CLI: curvebook-cli table.setCalculatedVariable [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Existing variable index or name (optional when `title` creates or matches a column)"
},
"formula": {
"description": "Formula expression, e.g. `= log10([Dose])` or `log10(ConcRaw)`",
"type": "string"
},
"sheet_id": {
"description": "Target MultipleVariables sheet identifier",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Variable column title (creates a new column if not found and `col` is omitted)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id",
"formula"
],
"type": "object"
}
table.setCategoricalOrder — Set Categorical Order
Configure display/reference ordering of categorical levels in a MultipleVariables column.
MCP tool: table_set_categorical_order · CLI: curvebook-cli table.setCategoricalOrder [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based variable index or column title"
},
"levels": {
"description": "Explicit category order list",
"items": {
"description": "Category level",
"type": "string"
},
"type": "array"
},
"order": {
"anyOf": [
{
"description": "Explicit category order list",
"items": {
"description": "Category level",
"type": "string"
},
"type": "array"
},
{
"description": "Ordering kind name",
"type": "string"
}
],
"description": "Explicit array of levels or order mode (`entry_order`, `alphabetical`, `frequency_descending`, `frequency_ascending`, `explicit`)"
},
"order_spec": {
"anyOf": [
{
"description": "Serialized LevelOrderSpec",
"type": "object"
},
{
"type": "null"
}
]
},
"reference_level": {
"anyOf": [
{
"description": "Optional reference category label",
"type": "string"
},
{
"type": "null"
}
]
},
"reversed": {
"description": "Reverse resulting level ordering",
"type": "boolean"
},
"sheet_id": {
"description": "Target MultipleVariables sheet identifier",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Fallback variable column title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.setCell — Set Cell Value
Set or update a single data cell value and optional exclusion flag, then recalculate downstream sheets.
MCP tool: table_set_cell · CLI: curvebook-cli table.setCell [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based column/dataset index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"subcol": {
"description": "Zero-based subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
},
"value": {
"anyOf": [
{
"description": "Finite numeric cell value",
"type": "number"
},
{
"description": "String or numeric token (trailing `*` sets excluded when enabled)",
"type": "string"
},
{
"description": "Boolean text cell",
"type": "boolean"
},
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"value": {
"description": "Cell scalar value: finite number, text/numeric string, boolean, or null"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Cell scalar value: finite number, text/numeric string, boolean, cell object, or null to clear"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.setCells — Set Multiple Cells
Apply a batch of cell edits or a 2D row/column block to a data table, then recalculate.
MCP tool: table_set_cells · CLI: curvebook-cli table.setCells [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"edits": {
"description": "List of explicit cell edits",
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based replicate subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Parse trailing `*` exclusion marker",
"type": "boolean"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based subcolumn index",
"minimum": 0,
"type": "integer"
},
"value": {
"anyOf": [
{
"description": "Finite numeric cell value",
"type": "number"
},
{
"description": "String or numeric token (trailing `*` sets excluded when enabled)",
"type": "string"
},
{
"description": "Boolean text cell",
"type": "boolean"
},
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"value": {
"description": "Cell scalar value: finite number, text/numeric string, boolean, or null"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Cell scalar value: finite number, text/numeric string, boolean, cell object, or null to clear"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"rows": {
"description": "2D array of cell values or objects",
"items": {
"description": "Row of cells",
"items": {
"anyOf": [
{
"description": "Finite numeric cell value",
"type": "number"
},
{
"description": "String or numeric token (trailing `*` sets excluded when enabled)",
"type": "string"
},
{
"description": "Boolean text cell",
"type": "boolean"
},
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"value": {
"description": "Cell scalar value: finite number, text/numeric string, boolean, or null"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Cell scalar value: finite number, text/numeric string, boolean, cell object, or null to clear"
},
"type": "array"
},
"type": "array"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"start_col": {
"description": "Starting column for `rows` grid (default 0)",
"minimum": 0,
"type": "integer"
},
"start_row": {
"description": "Starting row for `rows` grid (default 0)",
"minimum": 0,
"type": "integer"
},
"start_subcol": {
"description": "Subcolumn index for `rows` grid (default 0)",
"minimum": 0,
"type": "integer"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.setGroupTitles — Set Group Column Titles
Set group/dataset titles, X/time title, factor titles, or row titles on a data table.
MCP tool: table_set_group_titles · CLI: curvebook-cli table.setGroupTitles [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Column index for single `title` update",
"minimum": 0,
"type": "integer"
},
"column_factor_title": {
"anyOf": [
{
"description": "Column factor title (Grouped/Contingency)",
"type": "string"
},
{
"type": "null"
}
]
},
"row_factor_title": {
"anyOf": [
{
"description": "Row factor title (Grouped/Contingency)",
"type": "string"
},
{
"type": "null"
}
]
},
"row_titles": {
"description": "Batch of row titles starting at row 0",
"items": {
"anyOf": [
{
"description": "Row title",
"type": "string"
},
{
"type": "null"
}
]
},
"type": "array"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"start_col": {
"description": "Starting column index for `titles` batch (default 0)",
"minimum": 0,
"type": "integer"
},
"title": {
"anyOf": [
{
"description": "Single dataset/column title",
"type": "string"
},
{
"type": "null"
}
]
},
"titles": {
"description": "Batch of dataset/column/group titles",
"items": {
"description": "Column title",
"type": "string"
},
"type": "array"
},
"x_title": {
"anyOf": [
{
"description": "X or Survival time axis title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.setRowTitles — Set Row Titles
Set or clear one or more row titles (or PartsOfWhole slice labels) in a data table.
MCP tool: table_set_row_titles · CLI: curvebook-cli table.setRowTitles [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"row": {
"description": "Single row index when `titles` is omitted",
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"start_row": {
"description": "Starting row for `titles` batch (default 0)",
"minimum": 0,
"type": "integer"
},
"title": {
"anyOf": [
{
"description": "Single row title (omit or null to clear)",
"type": "string"
},
{
"type": "null"
}
]
},
"titles": {
"description": "Batch of row titles (null clears a title)",
"items": {
"anyOf": [
{
"description": "Row title",
"type": "string"
},
{
"type": "null"
}
]
},
"type": "array"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.setSubcolumnTitles — Set Subcolumn Titles
Set explicit subcolumn titles on a Nested data table across one or all groups.
MCP tool: table_set_subcolumn_titles · CLI: curvebook-cli table.setSubcolumnTitles [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"anyOf": [
{
"description": "Optional group index (omit to update all groups)",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target Nested data sheet identifier",
"minLength": 1,
"type": "string"
},
"start_subcol": {
"description": "Starting subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Single subcolumn index when `titles` is omitted",
"minimum": 0,
"type": "integer"
},
"title": {
"description": "Single subcolumn title",
"type": "string"
},
"titles": {
"description": "Batch of subcolumn titles",
"items": {
"description": "Subcolumn title",
"type": "string"
},
"type": "array"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.setTitles — Set Column Titles
Set dataset column titles, X/time title, factor titles, or row titles on a data table.
MCP tool: table_set_titles · CLI: curvebook-cli table.setTitles [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"description": "Column index for single `title` update",
"minimum": 0,
"type": "integer"
},
"column_factor_title": {
"anyOf": [
{
"description": "Column factor title (Grouped/Contingency)",
"type": "string"
},
{
"type": "null"
}
]
},
"row_factor_title": {
"anyOf": [
{
"description": "Row factor title (Grouped/Contingency)",
"type": "string"
},
{
"type": "null"
}
]
},
"row_titles": {
"description": "Batch of row titles starting at row 0",
"items": {
"anyOf": [
{
"description": "Row title",
"type": "string"
},
{
"type": "null"
}
]
},
"type": "array"
},
"sheet_id": {
"description": "Target data sheet identifier",
"minLength": 1,
"type": "string"
},
"start_col": {
"description": "Starting column index for `titles` batch (default 0)",
"minimum": 0,
"type": "integer"
},
"title": {
"anyOf": [
{
"description": "Single dataset/column title",
"type": "string"
},
{
"type": "null"
}
]
},
"titles": {
"description": "Batch of dataset/column/group titles",
"items": {
"description": "Column title",
"type": "string"
},
"type": "array"
},
"x_title": {
"anyOf": [
{
"description": "X or Survival time axis title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.setVariableRole — Set Variable Role
Lock or re-infer the analytical role of a column in a MultipleVariables table.
MCP tool: table_set_variable_role · CLI: curvebook-cli table.setVariableRole [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"col": {
"anyOf": [
{
"description": "Zero-based variable column index",
"minimum": 0,
"type": "integer"
},
{
"description": "Variable column title",
"minLength": 1,
"type": "string"
}
],
"description": "Zero-based variable index or column title"
},
"role": {
"description": "Role: continuous, categorical, label, calculated, or auto",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"description": "Target MultipleVariables sheet identifier",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Fallback variable column title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id",
"role"
],
"type": "object"
}
table.setXCells — Set X / Time Column
Set one or more X or elapsed-time column cells on an XY or Survival table.
MCP tool: table_set_x_cells · CLI: curvebook-cli table.setXCells [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"edits": {
"description": "List of X/time cell edits",
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Parse trailing `*` exclusion marker",
"type": "boolean"
},
"row": {
"description": "Zero-based row index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "Zero-based X subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
},
"value": {
"anyOf": [
{
"description": "Finite numeric cell value",
"type": "number"
},
{
"description": "String or numeric token (trailing `*` sets excluded when enabled)",
"type": "string"
},
{
"description": "Boolean text cell",
"type": "boolean"
},
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"value": {
"description": "Cell scalar value: finite number, text/numeric string, boolean, or null"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Cell scalar value: finite number, text/numeric string, boolean, cell object, or null to clear"
}
},
"required": [
"row"
],
"type": "object"
},
"type": "array"
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Parse trailing `*` exclusion marker",
"type": "boolean"
},
"row": {
"description": "Single row index when editing one X cell",
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"description": "Target XY or Survival sheet identifier",
"minLength": 1,
"type": "string"
},
"start_row": {
"description": "Starting row for `values` batch (default 0)",
"minimum": 0,
"type": "integer"
},
"subcol": {
"description": "X subcolumn index (default 0)",
"minimum": 0,
"type": "integer"
},
"value": {
"anyOf": [
{
"description": "Finite numeric cell value",
"type": "number"
},
{
"description": "String or numeric token (trailing `*` sets excluded when enabled)",
"type": "string"
},
{
"description": "Boolean text cell",
"type": "boolean"
},
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"value": {
"description": "Cell scalar value: finite number, text/numeric string, boolean, or null"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Cell scalar value: finite number, text/numeric string, boolean, cell object, or null to clear"
},
"values": {
"description": "Sequential X/time values starting at `start_row`",
"items": {
"anyOf": [
{
"description": "Finite numeric cell value",
"type": "number"
},
{
"description": "String or numeric token (trailing `*` sets excluded when enabled)",
"type": "string"
},
{
"description": "Boolean text cell",
"type": "boolean"
},
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": "string"
},
{
"type": "null"
}
]
},
"excluded": {
"description": "Optional explicit exclusion flag",
"type": "boolean"
},
"parse_asterisk_exclusion": {
"description": "Interpret trailing `*` in string tokens as excluded (default true)",
"type": "boolean"
},
"value": {
"description": "Cell scalar value: finite number, text/numeric string, boolean, or null"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Cell scalar value: finite number, text/numeric string, boolean, cell object, or null to clear"
},
"type": "array"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
table.simulateDistributions — Simulate Distributions
Generate a Column or MultipleVariables table with columns sampled from Uniform, Gaussian, LogNormal, Binomial, Poisson, or Exponential distributions.
MCP tool: table_simulate_distributions · CLI: curvebook-cli table.simulateDistributions [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"columns": {
"description": "Simulated column distribution specifications",
"items": {
"additionalProperties": false,
"description": "Column distribution specification `{ name, distribution, ... }` supporting uniform (`min`, `max`), gaussian (`mean`, `sd`), log_normal (`mean_log`, `sd_log`), binomial (`trials`, `p`), poisson (`lambda`), exponential (`rate`)",
"properties": {
"distribution": {
"anyOf": [
{
"enum": [
"uniform",
"gaussian",
"log_normal",
"binomial",
"poisson",
"exponential"
],
"type": "string"
},
{
"type": "object"
}
]
},
"lambda": {
"description": "Rate/mean parameter for poisson distribution",
"type": "number"
},
"max": {
"description": "Maximum bound for uniform distribution",
"type": "number"
},
"mean": {
"description": "Mean for gaussian distribution",
"type": "number"
},
"mean_log": {
"description": "Log-space mean for log_normal distribution",
"type": "number"
},
"min": {
"description": "Minimum bound for uniform distribution",
"type": "number"
},
"name": {
"minLength": 1,
"type": "string"
},
"p": {
"description": "Success probability for binomial distribution",
"type": "number"
},
"params": {
"type": "object"
},
"rate": {
"description": "Rate parameter for exponential distribution",
"type": "number"
},
"sd": {
"description": "Standard deviation for gaussian distribution",
"type": "number"
},
"sd_log": {
"description": "Log-space standard deviation for log_normal distribution",
"type": "number"
},
"trials": {
"description": "Number of trials for binomial distribution",
"minimum": 0,
"type": "integer"
}
},
"required": [
"name",
"distribution"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"n_rows": {
"description": "Number of rows to simulate per column",
"minimum": 1,
"type": "integer"
},
"seed": {
"anyOf": [
{
"description": "Deterministic 64-bit PRNG seed (default 1)",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional destination DataSheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional destination sheet title (default `Simulated Distributions`)",
"type": "string"
},
{
"type": "null"
}
]
},
"use_multiple_variables": {
"anyOf": [
{
"description": "Create MultipleVariables table instead of Column table (default false)",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"columns",
"n_rows"
],
"type": "object"
}
table.simulateXy — Simulate XY Data
Generate a synthetic XY data sheet from a built-in equation, parameter map, and noise model.
MCP tool: table_simulate_xy · CLI: curvebook-cli table.simulateXy [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"auto_info": {
"description": "Auto-create linked InfoSheet for new simulated table",
"type": "boolean"
},
"cv_percent": {
"description": "Relative CV% noise level (default 0.0)",
"type": "number"
},
"equation_id": {
"description": "Model equation ID (default `hill_4pl`)",
"type": "string"
},
"graph_sheet_id": {
"anyOf": [
{
"description": "Optional GraphSheet ID to create for new simulated table",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"noise_kind": {
"description": "Noise model: none, gaussian, relative_percent/cv, or poisson (default gaussian)",
"type": "string"
},
"noise_sd": {
"description": "Gaussian SD noise level (default 0.0)",
"type": "number"
},
"parameters": {
"anyOf": [
{
"anyOf": [
{
"additionalProperties": {
"type": "number"
},
"type": "object"
},
{
"type": "array"
}
],
"description": "Simulation equation parameters as `{ Name: value }` map or array"
},
{
"type": "null"
}
]
},
"replicates": {
"description": "Number of replicate Y subcolumns (default 3)",
"minimum": 0,
"type": "integer"
},
"row_count": {
"description": "Number of simulated X rows (default 12)",
"minimum": 0,
"type": "integer"
},
"seed": {
"description": "PRNG seed (default 1)",
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"anyOf": [
{
"description": "Optional destination data sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Simulated sheet title (default `Simulated XY`)",
"type": "string"
},
{
"type": "null"
}
]
},
"x_max": {
"description": "Maximum X value (default 10.0)",
"type": "number"
},
"x_min": {
"description": "Minimum X value (default 0.0)",
"type": "number"
}
},
"required": [],
"type": "object"
}
Info & Constants (3)
info.removeConstant — Remove Info Constant
Remove a named constant from an InfoSheet and recalculate dependents.
MCP tool: info_remove_constant · CLI: curvebook-cli info.removeConstant [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"if_exists": {
"anyOf": [
{
"description": "Allow removing a non-existent constant without failing (default: false)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"name": {
"description": "Constant name to remove",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"description": "Target InfoSheet ID or paired DataSheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"name"
],
"type": "object"
}
info.setConstant — Set Info Constant
Create or update a named InfoSheet constant and recalculate dependents.
MCP tool: info_set_constant · CLI: curvebook-cli info.setConstant [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"kind": {
"anyOf": [
{
"description": "Optional value kind hint (`number`, `text`, or `date`)",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"description": "Hookable constant name",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"description": "Target InfoSheet ID or paired DataSheet ID",
"minLength": 1,
"type": "string"
},
"units": {
"anyOf": [
{
"description": "Optional physical unit label",
"type": "string"
},
{
"type": "null"
}
]
},
"value": {
"description": "Constant value (finite number, string, or null to clear)"
}
},
"required": [
"sheet_id",
"name",
"value"
],
"type": "object"
}
info.setNote — Set Info Note
Set or append markdown notes on an InfoSheet.
MCP tool: info_set_note · CLI: curvebook-cli info.setNote [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"append": {
"anyOf": [
{
"description": "When true, append to existing notes instead of overwriting",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target InfoSheet ID or paired DataSheet ID",
"minLength": 1,
"type": "string"
},
"text": {
"description": "Markdown note content to set or append",
"type": "string"
}
},
"required": [
"sheet_id",
"text"
],
"type": "object"
}
Analysis & Reports (12)
analysis.add — Add Analysis
Attach and compute a new analysis of any domain (transform, stats, or regression) for a data sheet.
MCP tool: analysis_add · CLI: curvebook-cli analysis.add [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"comparison": {
"anyOf": [
{
"description": "Nested/non-nested model comparison specification"
},
{
"type": "null"
}
]
},
"confidence_percent": {
"anyOf": [
{
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"custom_dsl": {
"anyOf": [
{
"description": "Custom mathematical equation DSL string",
"type": "string"
},
{
"type": "null"
}
]
},
"deming_error": {
"anyOf": [
{
"description": "Model II Deming error model (`EqualError`, `StandardDeviations`, or `VarianceRatio`)"
},
{
"type": "null"
}
]
},
"df_method": {
"anyOf": [
{
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": "string"
},
{
"type": "null"
}
]
},
"equation_id": {
"anyOf": [
{
"description": "Built-in equation ID (e.g. `log_inhibitor_vs_response_4pl`, `log_agonist_vs_response_4pl`, `log_agonist_vs_response_3pl`, `michaelis_menten`, `one_phase_decay`, `two_phase_decay`, `exponential_growth`, `one_site_specific_binding`, `gaussian`, `bell_shaped_dose_response`) or custom label with `custom_dsl`",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"extend_line_to_x_intercept": {
"anyOf": [
{
"description": "Extend fitted regression line plot range to include the X-intercept",
"type": "boolean"
},
{
"type": "null"
}
]
},
"fixed_point": {
"anyOf": [
{
"description": "Optional fixed-point constraint [x0, y0] forcing Y - y0 = slope * (X - x0)"
},
{
"type": "null"
}
]
},
"flag_r_squared_below": {
"anyOf": [
{
"description": "Warn when nonlinear R squared is below this threshold",
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"identify_unstable_parameters": {
"anyOf": [
{
"description": "Assess nonlinear parameter identifiability",
"type": "boolean"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Any analysis kind shorthand or typed AnalysisKind object"
},
"method": {
"anyOf": [
{
"description": "Fitting/outlier method: `least_squares` (default), `robust` (Cauchy), `rout` (ROUT FDR 1% outlier elimination + OLS refit), or `{\"rout_outlier_elimination\": {\"fdr_q_percent\": 1.0}}`"
},
{
"type": "null"
}
]
},
"multiplicity": {
"anyOf": [
{
"description": "Post-hoc multiplicity adjustment method",
"type": "string"
},
{
"type": "null"
}
]
},
"overwrite": {
"anyOf": [
{
"description": "Overwrite an existing result sheet with the same ID",
"type": "boolean"
},
{
"type": "null"
}
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"parameter_rules": {
"anyOf": [
{
"description": "Parameter constraints and shared-global rules",
"items": {
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"plot_segments": {
"anyOf": [
{
"description": "Number of line segments in a linear fit overlay",
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"plot_x_max": {
"anyOf": [
{
"description": "Override the fitted curve's ending X",
"type": "number"
},
{
"type": "null"
}
]
},
"plot_x_min": {
"anyOf": [
{
"description": "Override the fitted curve's starting X",
"type": "number"
},
{
"type": "null"
}
]
},
"repeated_measures": {
"anyOf": [
{
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": "string"
},
{
"type": "null"
}
]
},
"residual_covariance": {
"anyOf": [
{
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": "string"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target result sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"anyOf": [
{
"description": "Source data sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"spec": {
"anyOf": [
{
"description": "Full serialized AnalysisSpec payload",
"type": "object"
},
{
"type": "null"
}
]
},
"standard_addition": {
"anyOf": [
{
"description": "Report standard-addition unknown concentration (-X-intercept) and negated Fieller CI",
"type": "boolean"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional custom title override",
"type": "string"
},
{
"type": "null"
}
]
},
"weighting": {
"anyOf": [
{
"description": "Regression weighting scheme (`none`, `1/y`, `1/y2`, `1/x`, `1/x2`)",
"type": "string"
},
{
"type": "null"
}
]
},
"x_range_filter": {
"anyOf": [
{
"description": "Inclusive [min, max] X bounds for linear and nonlinear fits"
},
{
"type": "null"
}
]
},
"y_range_filter": {
"anyOf": [
{
"description": "Optional [min, max] Y inclusion filter"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
analysis.exportCsv — Export Result Sheet CSV
Export a specific tab or tidy combined CSV representation of a result sheet and optionally save it atomically.
MCP tool: analysis_export_csv · CLI: curvebook-cli analysis.exportCsv [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"decimal_separator": {
"anyOf": [
{
"description": "Single-character decimal separator (default `.`)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"delimiter": {
"anyOf": [
{
"description": "Single-character CSV delimiter (default `,`)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output `.csv` file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Result sheet ID to export",
"minLength": 1,
"type": "string"
},
"tab_id": {
"anyOf": [
{
"description": "Optional specific result tab identifier",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"tab_index": {
"anyOf": [
{
"description": "Optional zero-based result tab index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
analysis.exportJson — Export Result Sheet JSON
Serialize a result sheet (tables, scalars, parameters, checklist) to JSON and optionally save it atomically.
MCP tool: analysis_export_json · CLI: curvebook-cli analysis.exportJson [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"path": {
"anyOf": [
{
"description": "Optional output `.json` file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"pretty": {
"anyOf": [
{
"description": "Pretty-print JSON output (default true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Result sheet ID to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
analysis.retargetData — Change Data Analyzed
Rebind an existing analysis result sheet to a different compatible data sheet or subset of datasets.
MCP tool: analysis_retarget_data · CLI: curvebook-cli analysis.retargetData [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"clear_selected_data_sets": {
"anyOf": [
{
"description": "Clear dataset subset filter so all datasets are analyzed",
"type": "boolean"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Optional subset of dataset indices",
"items": {
"description": "Dataset index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Existing result sheet ID to retarget",
"minLength": 1,
"type": "string"
},
"source_sheet_id": {
"description": "Replacement compatible data sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"source_sheet_id"
],
"type": "object"
}
analysis.run — New / Run Analysis
Create and run a new analysis sheet, recalculate an existing result sheet by ID, or recalculate the project when empty.
MCP tool: analysis_run · CLI: curvebook-cli analysis.run [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"comparison": {
"anyOf": [
{
"description": "Nested/non-nested model comparison specification"
},
{
"type": "null"
}
]
},
"confidence_percent": {
"anyOf": [
{
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"custom_dsl": {
"anyOf": [
{
"description": "Custom mathematical equation DSL string",
"type": "string"
},
{
"type": "null"
}
]
},
"deming_error": {
"anyOf": [
{
"description": "Model II Deming error model (`EqualError`, `StandardDeviations`, or `VarianceRatio`)"
},
{
"type": "null"
}
]
},
"df_method": {
"anyOf": [
{
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": "string"
},
{
"type": "null"
}
]
},
"equation_id": {
"anyOf": [
{
"description": "Built-in equation ID (e.g. `log_inhibitor_vs_response_4pl`, `log_agonist_vs_response_4pl`, `log_agonist_vs_response_3pl`, `michaelis_menten`, `one_phase_decay`, `two_phase_decay`, `exponential_growth`, `one_site_specific_binding`, `gaussian`, `bell_shaped_dose_response`) or custom label with `custom_dsl`",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"extend_line_to_x_intercept": {
"anyOf": [
{
"description": "Extend fitted regression line plot range to include the X-intercept",
"type": "boolean"
},
{
"type": "null"
}
]
},
"fixed_point": {
"anyOf": [
{
"description": "Optional fixed-point constraint [x0, y0] forcing Y - y0 = slope * (X - x0)"
},
{
"type": "null"
}
]
},
"flag_r_squared_below": {
"anyOf": [
{
"description": "Warn when nonlinear R squared is below this threshold",
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"identify_unstable_parameters": {
"anyOf": [
{
"description": "Assess nonlinear parameter identifiability",
"type": "boolean"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Any analysis kind shorthand or typed AnalysisKind object"
},
"method": {
"anyOf": [
{
"description": "Fitting/outlier method: `least_squares` (default), `robust` (Cauchy), `rout` (ROUT FDR 1% outlier elimination + OLS refit), or `{\"rout_outlier_elimination\": {\"fdr_q_percent\": 1.0}}`"
},
{
"type": "null"
}
]
},
"multiplicity": {
"anyOf": [
{
"description": "Post-hoc multiplicity adjustment method",
"type": "string"
},
{
"type": "null"
}
]
},
"overwrite": {
"anyOf": [
{
"description": "Overwrite an existing result sheet with the same ID",
"type": "boolean"
},
{
"type": "null"
}
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"parameter_rules": {
"anyOf": [
{
"description": "Parameter constraints and shared-global rules",
"items": {
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"plot_segments": {
"anyOf": [
{
"description": "Number of line segments in a linear fit overlay",
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"plot_x_max": {
"anyOf": [
{
"description": "Override the fitted curve's ending X",
"type": "number"
},
{
"type": "null"
}
]
},
"plot_x_min": {
"anyOf": [
{
"description": "Override the fitted curve's starting X",
"type": "number"
},
{
"type": "null"
}
]
},
"repeated_measures": {
"anyOf": [
{
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": "string"
},
{
"type": "null"
}
]
},
"residual_covariance": {
"anyOf": [
{
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": "string"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target result sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"anyOf": [
{
"description": "Source data sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"spec": {
"anyOf": [
{
"description": "Full serialized AnalysisSpec payload",
"type": "object"
},
{
"type": "null"
}
]
},
"standard_addition": {
"anyOf": [
{
"description": "Report standard-addition unknown concentration (-X-intercept) and negated Fieller CI",
"type": "boolean"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional custom title override",
"type": "string"
},
{
"type": "null"
}
]
},
"weighting": {
"anyOf": [
{
"description": "Regression weighting scheme (`none`, `1/y`, `1/y2`, `1/x`, `1/x2`)",
"type": "string"
},
{
"type": "null"
}
]
},
"x_range_filter": {
"anyOf": [
{
"description": "Inclusive [min, max] X bounds for linear and nonlinear fits"
},
{
"type": "null"
}
]
},
"y_range_filter": {
"anyOf": [
{
"description": "Optional [min, max] Y inclusion filter"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
analysis.updateParams — Change Analysis Parameters
Update analysis kind, confidence level, dataset selection, P-value formatting, or parameter rules and recalculate.
MCP tool: analysis_update_params · CLI: curvebook-cli analysis.updateParams [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"confidence_percent": {
"anyOf": [
{
"description": "Confidence percentage",
"maximum": 100.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Optional replacement analysis kind"
},
"p_value_format": {
"anyOf": [
{
"description": "P-value format override"
},
{
"type": "null"
}
]
},
"params": {
"anyOf": [
{
"description": "Optional field patch object merged into current analysis kind",
"type": "object"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Subset of dataset indices",
"items": {
"description": "Dataset index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Existing result sheet ID to update",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Optional custom title override",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
analyze.run — Run Analyses
Recalculate all dirty or upstream-dependent analysis result sheets across the project DAG.
MCP tool: analyze_run · CLI: curvebook-cli analyze.run [flags]
{
"additionalProperties": true,
"properties": {},
"type": "object"
}
fit.run — Run Curve Fit / Regression
Create and execute linear, Deming, built-in nonlinear, global shared-parameter, or custom DSL regression.
MCP tool: fit_run · CLI: curvebook-cli fit.run [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"comparison": {
"anyOf": [
{
"description": "Nested/non-nested model comparison specification"
},
{
"type": "null"
}
]
},
"confidence_percent": {
"anyOf": [
{
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"custom_dsl": {
"anyOf": [
{
"description": "Custom mathematical equation DSL string",
"type": "string"
},
{
"type": "null"
}
]
},
"deming_error": {
"anyOf": [
{
"description": "Model II Deming error model (`EqualError`, `StandardDeviations`, or `VarianceRatio`)"
},
{
"type": "null"
}
]
},
"df_method": {
"anyOf": [
{
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": "string"
},
{
"type": "null"
}
]
},
"equation_id": {
"anyOf": [
{
"description": "Built-in equation ID (e.g. `log_inhibitor_vs_response_4pl`, `log_agonist_vs_response_4pl`, `log_agonist_vs_response_3pl`, `michaelis_menten`, `one_phase_decay`, `two_phase_decay`, `exponential_growth`, `one_site_specific_binding`, `gaussian`, `bell_shaped_dose_response`) or custom label with `custom_dsl`",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"extend_line_to_x_intercept": {
"anyOf": [
{
"description": "Extend fitted regression line plot range to include the X-intercept",
"type": "boolean"
},
{
"type": "null"
}
]
},
"fixed_point": {
"anyOf": [
{
"description": "Optional fixed-point constraint [x0, y0] forcing Y - y0 = slope * (X - x0)"
},
{
"type": "null"
}
]
},
"flag_r_squared_below": {
"anyOf": [
{
"description": "Warn when nonlinear R squared is below this threshold",
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"identify_unstable_parameters": {
"anyOf": [
{
"description": "Assess nonlinear parameter identifiability",
"type": "boolean"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Regression kind or equation shorthand (e.g. `4pl` / `log_agonist_vs_response_4pl`, `4pl_inhibitor` / `log_inhibitor_vs_response_4pl`, `3pl`, `linear`, `deming`, `michaelis_menten`, `one_phase_decay`, `one_site_specific_binding`) or typed object"
},
"method": {
"anyOf": [
{
"description": "Fitting/outlier method: `least_squares` (default), `robust` (Cauchy), `rout` (ROUT FDR 1% outlier elimination + OLS refit), or `{\"rout_outlier_elimination\": {\"fdr_q_percent\": 1.0}}`"
},
{
"type": "null"
}
]
},
"multiplicity": {
"anyOf": [
{
"description": "Post-hoc multiplicity adjustment method",
"type": "string"
},
{
"type": "null"
}
]
},
"overwrite": {
"anyOf": [
{
"description": "Overwrite an existing result sheet with the same ID",
"type": "boolean"
},
{
"type": "null"
}
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"parameter_rules": {
"anyOf": [
{
"description": "Parameter constraints and shared-global rules",
"items": {
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"plot_segments": {
"anyOf": [
{
"description": "Number of line segments in a linear fit overlay",
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"plot_x_max": {
"anyOf": [
{
"description": "Override the fitted curve's ending X",
"type": "number"
},
{
"type": "null"
}
]
},
"plot_x_min": {
"anyOf": [
{
"description": "Override the fitted curve's starting X",
"type": "number"
},
{
"type": "null"
}
]
},
"repeated_measures": {
"anyOf": [
{
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": "string"
},
{
"type": "null"
}
]
},
"residual_covariance": {
"anyOf": [
{
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": "string"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target result sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"anyOf": [
{
"description": "Source data sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"spec": {
"anyOf": [
{
"description": "Full serialized AnalysisSpec payload",
"type": "object"
},
{
"type": "null"
}
]
},
"standard_addition": {
"anyOf": [
{
"description": "Report standard-addition unknown concentration (-X-intercept) and negated Fieller CI",
"type": "boolean"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional custom title override",
"type": "string"
},
{
"type": "null"
}
]
},
"weighting": {
"anyOf": [
{
"description": "Regression weighting scheme (`none`, `1/y`, `1/y2`, `1/x`, `1/x2`)",
"type": "string"
},
{
"type": "null"
}
]
},
"x_range_filter": {
"anyOf": [
{
"description": "Inclusive [min, max] X bounds for linear and nonlinear fits"
},
{
"type": "null"
}
]
},
"y_range_filter": {
"anyOf": [
{
"description": "Optional [min, max] Y inclusion filter"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
result.generateReport — Generate Methods Report
Generate a publication-ready statistical methods prose report in `plain`, `markdown`, or `latex`, optionally saving to disk.
MCP tool: result_generate_report · CLI: curvebook-cli result.generateReport [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"format": {
"anyOf": [
{
"description": "Report output format (`plain`, `markdown`, or `latex`)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"result_sheet_id": {
"description": "Result sheet ID to document",
"minLength": 1,
"type": "string"
}
},
"required": [
"result_sheet_id"
],
"type": "object"
}
stats.pvalueStack — Analyze a Stack of P Values
Adjust a column stack of raw P values across 7 FWER/FDR multiplicity procedures and report discoveries.
MCP tool: stats_pvalue_stack · CLI: curvebook-cli stats.pvalueStack [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"column": {
"anyOf": [
{
"description": "Optional zero-based column index override",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"method": {
"anyOf": [
{
"description": "Multiplicity procedure (`bonferroni`, `holm`, `sidak`, `holm_sidak`, `benjamini_hochberg`, `two_stage_bky`, `benjamini_yekutieli`)",
"type": "string"
},
{
"type": "null"
}
]
},
"overwrite": {
"anyOf": [
{
"description": "Overwrite an existing result sheet with the same ID",
"type": "boolean"
},
{
"type": "null"
}
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Subset of zero-based column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target result sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"description": "Source data sheet ID containing raw P-value column(s)",
"minLength": 1,
"type": "string"
},
"threshold": {
"anyOf": [
{
"description": "Significance alpha (FWER) or desired FDR Q strictly in (0, 1)",
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional custom title override",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"source_sheet_id"
],
"type": "object"
}
stats.run — Run Statistical Test
Create and execute a hypothesis test, ANOVA, contingency, survival, ROC, GLM, or multivariate analysis.
MCP tool: stats_run · CLI: curvebook-cli stats.run [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"confidence_percent": {
"anyOf": [
{
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"df_method": {
"anyOf": [
{
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": "string"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Statistical test shorthand (e.g. `unpaired_t`, `welch_t`, `paired_t`, `mann_whitney`, `wilcoxon`, `one_sample_t`, `one_way_anova`, `welch_anova`, `rm_one_way_anova`, `kruskal_wallis`, `friedman`, `two_way_anova`, `three_way_anova`, `nested_t`, `nested_anova`, `descriptive`, `rout`, `grubbs`, `multiple_row_t_tests`, `contingency`, `fisher_exact`, `kaplan_meier`, `cox_ph`, `roc`, `bland_altman`, `passing_bablok`, `pvalue_stack`, `power`, `pca`, `correlation`, `clustering`) or typed AnalysisKind object"
},
"multiplicity": {
"anyOf": [
{
"description": "Post-hoc multiplicity adjustment method",
"type": "string"
},
{
"type": "null"
}
]
},
"overwrite": {
"anyOf": [
{
"description": "Overwrite an existing result sheet with the same ID",
"type": "boolean"
},
{
"type": "null"
}
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"repeated_measures": {
"anyOf": [
{
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": "string"
},
{
"type": "null"
}
]
},
"residual_covariance": {
"anyOf": [
{
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": "string"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target result sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"anyOf": [
{
"description": "Source data sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"spec": {
"anyOf": [
{
"description": "Full serialized AnalysisSpec payload",
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional custom title override",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
transform.run — Run Transformation
Create and execute a mathematical, normalization, baseline, transpose, prune, select, or simulation transformation sheet.
MCP tool: transform_run · CLI: curvebook-cli transform.run [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"confidence_percent": {
"anyOf": [
{
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"create_graph": {
"anyOf": [
{
"description": "When true, create a reactive GraphSheet bound to the transform output",
"type": "boolean"
},
{
"type": "null"
}
]
},
"graph_sheet_id": {
"anyOf": [
{
"description": "Optional explicit GraphSheet ID created when `create_graph` is true",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Transform kind (`math`, `normalize`, `remove_baseline`, `transpose`, `prune_rows`, `select_and_transform`, `simulate`, `random_sample`) or typed object"
},
"overwrite": {
"anyOf": [
{
"description": "Overwrite an existing result sheet with the same ID",
"type": "boolean"
},
{
"type": "null"
}
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"anyOf": [
{
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional target result sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"source_sheet_id": {
"anyOf": [
{
"description": "Source data sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"spec": {
"anyOf": [
{
"description": "Full serialized AnalysisSpec payload",
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional custom title override",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
Graphs & Styling (17)
graph.addAnnotation — Add Graph Annotation
Add a text box, line/arrow, shape, live embedded result table, or live fitted model equation annotation to a graph.
MCP tool: graph_add_annotation · CLI: curvebook-cli graph.addAnnotation [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"annotation": {
"anyOf": [
{
"description": "Full serialized GraphAnnotation object",
"type": "object"
},
{
"type": "null"
}
]
},
"bordered": {
"anyOf": [
{
"description": "Whether to draw a border around text box or model equation annotations",
"type": "boolean"
},
{
"type": "null"
}
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Bounding rectangle [x, y, w, h] or RectPt object"
},
{
"type": "null"
}
]
},
"data_set_index": {
"anyOf": [
{
"description": "Zero-based fitted dataset curve index for model equation annotations (default 0)",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"font_size_pt": {
"anyOf": [
{
"description": "Font size in points for model equation annotations (default 10.0)",
"maximum": 144.0,
"minimum": 1.0,
"type": "number"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"description": "Annotation shorthand kind (`text`, `line`, `arrow`, `shape`, `table`, `equation` / `model_equation`)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"description": "Equation rendering mode for model equation annotations (`substituted` or `symbolic`, default `substituted`)",
"enum": [
"substituted",
"symbolic"
],
"type": "string"
},
{
"type": "null"
}
]
},
"result_sheet_id": {
"anyOf": [
{
"description": "Result sheet ID for embedded table or model equation annotations",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID",
"minLength": 1,
"type": "string"
},
"text": {
"anyOf": [
{
"description": "Text or markdown body for text annotations",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.addComparisonBrackets — Add Pairwise Significance Brackets
Add statistical comparison brackets (stars or numeric P/q values) driven by a result sheet's pairwise comparisons.
MCP tool: graph_add_comparison_brackets · CLI: curvebook-cli graph.addComparisonBrackets [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bracket_step_pt": {
"anyOf": [
{
"description": "Vertical step spacing between stacked brackets in points",
"minimum": 1.0,
"type": "number"
},
{
"type": "null"
}
]
},
"clear_existing": {
"anyOf": [
{
"description": "Remove existing brackets before appending new ones",
"type": "boolean"
},
{
"type": "null"
}
]
},
"font_size_pt": {
"anyOf": [
{
"description": "Label font size in points",
"minimum": 1.0,
"type": "number"
},
{
"type": "null"
}
]
},
"group_a": {
"anyOf": [
{
"description": "Optional first group index or label"
},
{
"type": "null"
}
]
},
"group_b": {
"anyOf": [
{
"description": "Optional second group index or label"
},
{
"type": "null"
}
]
},
"hide_if_non_significant": {
"anyOf": [
{
"description": "Hide bracket automatically if P exceeds alpha",
"type": "boolean"
},
{
"type": "null"
}
]
},
"label_mode": {
"anyOf": [
{
"description": "Label format (`stars`, `numeric`, or custom string)"
},
{
"type": "null"
}
]
},
"result_sheet_id": {
"description": "Result sheet ID with pairwise comparison records",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"description": "Graph sheet ID",
"minLength": 1,
"type": "string"
},
"significant_only": {
"anyOf": [
{
"description": "Skip non-significant comparisons when adding all pairs",
"type": "boolean"
},
{
"type": "null"
}
]
},
"stroke_width_pt": {
"anyOf": [
{
"description": "Stroke width in points",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"style": {
"anyOf": [
{
"description": "Bracket shape (`square`, `half_tick`, `flat_line`, `curly`)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id",
"result_sheet_id"
],
"type": "object"
}
graph.applyCanvasPreset — Apply Graph Canvas Preset
Resize a graph canvas to a journal column, slide, or poster preset (`KeepTypographyPt` or `ProportionalScale`).
MCP tool: graph_apply_canvas_preset · CLI: curvebook-cli graph.applyCanvasPreset [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"preset": {
"description": "Canvas preset (`SingleColumn88mm`, `ColumnAndHalf130mm`, `DoubleColumn180mm`, `FullPagePortrait`, `Slide16x9`, `PosterPanel`)",
"minLength": 1,
"type": "string"
},
"resize_mode": {
"anyOf": [
{
"description": "Resize mode (`KeepTypographyPt` or `ProportionalScale`)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target graph or layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"preset"
],
"type": "object"
}
graph.applyStyleFrom — Apply Graph Style From...
Copy visual styling (palette, frame, axis styling, legend, and series appearances) from a donor graph.
MCP tool: graph_apply_style_from · CLI: curvebook-cli graph.applyStyleFrom [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"clone_error_bars_and_legend": {
"anyOf": [
{
"description": "Copy error bar and legend settings",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clone_frame_and_axes": {
"anyOf": [
{
"description": "Copy frame and axis styling",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clone_palette": {
"anyOf": [
{
"description": "Copy color palette and series colors",
"type": "boolean"
},
{
"type": "null"
}
]
},
"donor_sheet_id": {
"description": "Donor graph sheet ID to copy styling from",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"anyOf": [
{
"description": "Target graph sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"target_sheet_ids": {
"anyOf": [
{
"description": "Optional batch list of target graph sheet IDs (any entry matching `donor_sheet_id` is skipped cleanly)",
"items": {
"description": "Target graph sheet ID",
"minLength": 1,
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
}
},
"required": [
"donor_sheet_id"
],
"type": "object"
}
graph.create — New Graph
Create a new graph sheet bound to an input data sheet with optional kind, title, and initialization state.
MCP tool: graph_create · CLI: curvebook-cli graph.create [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"data_sheet_id": {
"description": "Source data sheet ID to plot",
"minLength": 1,
"type": "string"
},
"initialized": {
"anyOf": [
{
"description": "Whether the graph starts marked as initialized",
"type": "boolean"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"description": "Optional initial graph kind string or GraphKind object"
},
{
"type": "null"
}
]
},
"one_per_data_set": {
"anyOf": [
{
"description": "When true, create one single-series graph sheet per data set in one undo step",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional explicit graph sheet ID (prefix when creating multiple graphs)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional graph title",
"type": "string"
},
{
"type": "null"
}
]
},
"y_axis_title": {
"anyOf": [
{
"description": "Optional initial Y-axis title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"data_sheet_id"
],
"type": "object"
}
graph.formatSelectedPoints — Format Selected Points
Apply, merge, replace, or clear per-point visual overrides across one or more selected graph points.
MCP tool: graph_format_selected_points · CLI: curvebook-cli graph.formatSelectedPoints [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"border_width_pt": {
"anyOf": [
{
"description": "Shared marker border width in points for batch `points` (or null to clear)",
"type": "number"
},
{
"type": "null"
}
]
},
"clear": {
"description": "Convenience flag: true selects clear mode when `mode` is omitted",
"type": "boolean"
},
"color": {
"anyOf": [
{
"description": "Shared stroke/accent color for batch `points` (or null to clear)"
},
{
"type": "null"
}
]
},
"fill_color": {
"anyOf": [
{
"description": "Shared marker fill color for batch `points` (or null to clear)"
},
{
"type": "null"
}
]
},
"fill_mode": {
"anyOf": [
{
"description": "Shared marker fill mode for batch `points` (or null to clear)",
"type": "string"
},
{
"type": "null"
}
]
},
"hidden": {
"description": "Shared hidden flag applied across batch `points`",
"type": "boolean"
},
"mode": {
"description": "Override update mode: merge (default, updates provided fields), replace (replaces full override table), or clear",
"enum": [
"merge",
"replace",
"clear"
],
"type": "string"
},
"overrides": {
"description": "Explicit per-point override records",
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"border_width_pt": {
"anyOf": [
{
"description": "Override marker border width in points (>= 0, or null to clear)",
"type": "number"
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"description": "Override accent/stroke color (hex, color name, [r,g,b], [r,g,b,a], or null to clear)"
},
{
"type": "null"
}
]
},
"fill_color": {
"anyOf": [
{
"description": "Override marker fill color (or null to clear)"
},
{
"type": "null"
}
]
},
"fill_mode": {
"anyOf": [
{
"description": "Override marker fill mode (filled, open, semi_top, semi_bottom, semi_left, semi_right, or null)",
"type": "string"
},
{
"type": "null"
}
]
},
"hidden": {
"description": "True hides this point marker while leaving data intact",
"type": "boolean"
},
"point_index": {
"description": "Zero-based data point index within the series",
"minimum": 0,
"type": "integer"
},
"series_index": {
"description": "Zero-based series index",
"minimum": 0,
"type": "integer"
},
"size_pt": {
"anyOf": [
{
"description": "Override positive marker size in points (> 0, or null to clear)",
"type": "number"
},
{
"type": "null"
}
]
},
"subcol": {
"anyOf": [
{
"description": "Optional zero-based replicate subcolumn index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"symbol": {
"anyOf": [
{
"description": "Override marker shape (circle, square, triangle_up, triangle_down, diamond, cross, plus, star, hexagon, or null)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"series_index",
"point_index"
],
"type": "object"
},
"type": "array"
},
"points": {
"description": "Target (series_index, point_index) points to format uniformly or clear",
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"point_index": {
"description": "Zero-based data point index within the series",
"minimum": 0,
"type": "integer"
},
"series_index": {
"description": "Zero-based series index",
"minimum": 0,
"type": "integer"
},
"subcol": {
"anyOf": [
{
"description": "Optional zero-based replicate subcolumn index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"series_index",
"point_index"
],
"type": "object"
},
"type": "array"
},
"sheet_id": {
"description": "Target graph sheet ID",
"minLength": 1,
"type": "string"
},
"size_pt": {
"anyOf": [
{
"description": "Shared positive marker size in points for batch `points` (or null to clear)",
"type": "number"
},
{
"type": "null"
}
]
},
"symbol": {
"anyOf": [
{
"description": "Shared marker shape for batch `points` (or null to clear)",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.initialize — Initialize Graph
Initialize an uninitialized graph sheet, applying its graph kind and default series styling.
MCP tool: graph_initialize · CLI: curvebook-cli graph.initialize [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"kind": {
"anyOf": [
{
"description": "Optional graph kind string or GraphKind object"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID to initialize",
"minLength": 1,
"type": "string"
},
"title": {
"anyOf": [
{
"description": "Optional graph title override",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.insertImage — Insert Image on Graph
Embed a PNG, JPEG, or TIFF raster image annotation onto a graph sheet.
MCP tool: graph_insert_image · CLI: curvebook-cli graph.insertImage [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"asset_id": {
"anyOf": [
{
"description": "Existing content-addressed image `asset_id` already stored in the project",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"border": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"color": {
"anyOf": [
{
"description": "Border stroke color (`#RRGGBB` / `#RRGGBBAA` or `[r, g, b, a]`)"
},
{
"type": "null"
}
]
},
"dash": {
"anyOf": [
{
"description": "Border dash style (`solid`, `dashed`, `dotted`, `dash_dot`, etc.)"
},
{
"type": "null"
}
]
},
"width_pt": {
"anyOf": [
{
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded PNG, JPEG, or TIFF image payload",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"crop": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bottom_pt": {
"anyOf": [
{
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"left_pt": {
"anyOf": [
{
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"right_pt": {
"anyOf": [
{
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"top_pt": {
"anyOf": [
{
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"lock_aspect_ratio": {
"anyOf": [
{
"description": "Preserve intrinsic image aspect ratio when resizing one dimension (default `true`)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Regular local file path to a PNG, JPEG, or TIFF image (URLs rejected)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"rotation_deg": {
"anyOf": [
{
"description": "Clockwise rotation in degrees around the center of `bounds_pt`",
"maximum": 3600.0,
"minimum": -3600.0,
"type": "number"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target GraphSheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.preflightCheck — Preflight Check Figure
Compile a graph or layout sheet and check typography, hairlines, clipping, and overlap readiness.
MCP tool: graph_preflight_check · CLI: curvebook-cli graph.preflightCheck [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "Graph or layout sheet ID to audit",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.setAdditionalTicks — Set Additional Axis Ticks
Set custom callout ticks and optional gridlines along the `x`, `y`, or `y2` axis.
MCP tool: graph_set_additional_ticks · CLI: curvebook-cli graph.setAdditionalTicks [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"axis": {
"description": "Target axis (`x`, `y`, or `y2`)",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
},
"ticks": {
"description": "Ordered custom ticks along the target axis",
"items": {
"additionalProperties": false,
"properties": {
"draw_gridline": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Whether to draw a gridline at this tick"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional override tick label"
},
"value": {
"description": "Finite numeric coordinate on the axis",
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"sheet_id",
"axis",
"ticks"
],
"type": "object"
}
graph.setAxes — Format Axes
Configure X, Y, and right-hand Y2 axes including log/probit/logit scales, segmented breaks, thresholds, and frame presets.
MCP tool: graph_set_axes · CLI: curvebook-cli graph.setAxes [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"axis": {
"anyOf": [
{
"description": "Single axis shorthand target (`x`, `y`, or `y2`) when specifying axis properties at top level",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"frame_preset": {
"anyOf": [
{
"description": "Axis frame preset (`open_l`, `offset`, `plain_boxed`, `dual_y`, `origin_crossing`)"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
},
"x_axis": {
"anyOf": [
{
"description": "Axis specification fields (title, segments, scale, min, max, tick_format, additional_ticks, etc.)",
"type": "object"
},
{
"type": "null"
}
]
},
"y2_axis": {
"anyOf": [
{
"description": "Axis specification fields (title, segments, scale, min, max, tick_format, additional_ticks, etc.)",
"type": "object"
},
{
"type": "null"
}
]
},
"y_axis": {
"anyOf": [
{
"description": "Axis specification fields (title, segments, scale, min, max, tick_format, additional_ticks, etc.)",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.setCompactLetterDisplay — Compact Letter Display
Configure or toggle Piepho (2004) compact letter display significance grouping letters and pairwise display mode on a graph.
MCP tool: graph_set_compact_letter_display · CLI: curvebook-cli graph.setCompactLetterDisplay [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"alpha_override": {
"anyOf": [
{
"description": "Optional explicit significance alpha in (0, 1) overriding result decisions",
"type": "number"
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"description": "Text color (`#RRGGBB`, `#RRGGBBAA`, color name, or `[r, g, b]` / `[r, g, b, a]`)"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"description": "Enable (true) or clear (false) compact letter display annotation",
"type": "boolean"
},
{
"type": "null"
}
]
},
"font_size_pt": {
"anyOf": [
{
"description": "Letter font size in points in (0, 144]",
"maximum": 144.0,
"minimum": 1.0,
"type": "number"
},
{
"type": "null"
}
]
},
"offset_pt": {
"anyOf": [
{
"description": "Vertical clearance above plotted elements in points in [0, 200]",
"maximum": 200.0,
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"ordering": {
"anyOf": [
{
"description": "Monotonic letter assignment direction (`descending_mean` or `ascending_mean`)",
"type": "string"
},
{
"type": "null"
}
]
},
"pairwise_display_mode": {
"anyOf": [
{
"description": "Pairwise display mode (`brackets_only`, `compact_letter_display_only` / `cld_only`, or `brackets_and_compact_letter_display` / `both`)",
"type": "string"
},
{
"type": "null"
}
]
},
"result_sheet_id": {
"anyOf": [
{
"description": "Result sheet ID supplying all-pairwise adjusted p/q comparisons",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID",
"minLength": 1,
"type": "string"
},
"uppercase": {
"anyOf": [
{
"description": "Use uppercase letters (A, B, AB) instead of lowercase (a, b, ab)",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.setKind — Change Graph Type
Switch a graph's visualization type (XY, column, grouped, survival, multivariate, diagnostic) with optional style reset.
MCP tool: graph_set_kind · CLI: curvebook-cli graph.setKind [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"kind": {
"description": "Replacement graph kind string or typed GraphKind object"
},
"option_id": {
"anyOf": [
{
"description": "Optional UI graph type catalog identifier",
"type": "string"
},
{
"type": "null"
}
]
},
"reset_series_style": {
"anyOf": [
{
"description": "Reinitialize series GDOs to defaults for the new kind (default true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"kind"
],
"type": "object"
}
graph.setRegressionOverlay — Overlay Regression Curve
Bind or clear a fitted curve overlay with optional confidence/prediction bands on one or all graph series.
MCP tool: graph_set_regression_overlay · CLI: curvebook-cli graph.setRegressionOverlay [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"all_series": {
"anyOf": [
{
"description": "Apply overlay to all series on the graph",
"type": "boolean"
},
{
"type": "null"
}
]
},
"clear": {
"anyOf": [
{
"description": "Clear existing regression overlay instead of attaching one",
"type": "boolean"
},
{
"type": "null"
}
]
},
"data_set_index": {
"anyOf": [
{
"description": "Target bound dataset index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"result_sheet_id": {
"anyOf": [
{
"description": "Result sheet ID supplying fitted curves and bands",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sample_segments": {
"anyOf": [
{
"description": "Curve subdivision density (clamped to 256..=1024)",
"maximum": 65535,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"series_index": {
"anyOf": [
{
"description": "Target series index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"shaded_ribbon": {
"anyOf": [
{
"description": "Fill confidence/prediction bands as translucent ribbons",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
},
"show_confidence_band": {
"anyOf": [
{
"description": "Render 95% confidence band",
"type": "boolean"
},
{
"type": "null"
}
]
},
"show_prediction_band": {
"anyOf": [
{
"description": "Render 95% prediction band",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.setSeries — Format Data Series
Style one or all data series: colors, markers, connecting lines, error bars, right-Y binding, or multivariate encoding.
MCP tool: graph_set_series · CLI: curvebook-cli graph.setSeries [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"all_series": {
"anyOf": [
{
"description": "When true, apply the single-series patch fields to every series on the graph",
"type": "boolean"
},
{
"type": "null"
}
]
},
"data_set_index": {
"anyOf": [
{
"description": "Data set column index to match against bound series",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"description": "Array update mode when `series` is provided: `patch` (default; patches matching series slots in place and preserves trailing series) or `replace` (replaces the full series list)",
"enum": [
"patch",
"replace"
],
"type": "string"
},
{
"type": "null"
}
]
},
"multivariate": {
"anyOf": [
{
"description": "Multivariate 5-channel bubble/scatter encoding",
"type": "object"
},
{
"type": "null"
}
]
},
"series": {
"anyOf": [
{
"description": "Batch series patch array (patches existing `spec.series` slots in place by default; pass `mode: \"replace\"` to replace the full list)",
"items": {
"additionalProperties": true,
"description": "Series patch object; optionally includes `series_index` (or `data_set_index` when targeting a bound series) plus styling fields.",
"properties": {
"data_set_index": {
"anyOf": [
{
"description": "Data set column index to bind or match against an existing series",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"series_index": {
"anyOf": [
{
"description": "Optional zero-based target series slot index within `spec.series`",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"series_index": {
"anyOf": [
{
"description": "Zero-based series slot index",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.setSpec — Update Graph Specification
Patch a graph's full GraphSpec, palette, frame, legend, title, survival options, or multivariate encoding.
MCP tool: graph_set_spec · CLI: curvebook-cli graph.setSpec [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"forest_show_pooled_diamond": {
"anyOf": [
{
"description": "Show pooled summary diamond row on diagnostic forest plots",
"type": "boolean"
},
{
"type": "null"
}
]
},
"heatmap_labels": {
"anyOf": [
{
"description": "Heatmap row/column label mode and rotation spec",
"type": "object"
},
{
"type": "null"
}
]
},
"initialized": {
"anyOf": [
{
"description": "Optional initialized state",
"type": "boolean"
},
{
"type": "null"
}
]
},
"multivariate": {
"anyOf": [
{
"description": "5-channel multivariate encoding specification",
"type": "object"
},
{
"type": "null"
}
]
},
"orientation": {
"anyOf": [
{
"description": "Cartesian plot orientation",
"enum": [
"vertical",
"horizontal"
],
"type": "string"
},
{
"type": "null"
}
]
},
"paper_fill": {
"anyOf": [
{
"description": "Outer canvas paper background color or null for transparent"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
},
"spec": {
"anyOf": [
{
"description": "Partial or complete GraphSpec JSON patch",
"type": "object"
},
{
"type": "null"
}
]
},
"survival_number_at_risk": {
"anyOf": [
{
"description": "Show number-at-risk table under survival plots",
"type": "boolean"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional updated graph title",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.updateImage — Format Embedded Graph Image
Update placement bounds, aspect-ratio lock, rotation, crop insets, or border on an embedded graph image.
MCP tool: graph_update_image · CLI: curvebook-cli graph.updateImage [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"annotation_index": {
"description": "Zero-based index of the EmbeddedImage annotation",
"minimum": 0,
"type": "integer"
},
"border": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"color": {
"anyOf": [
{
"description": "Border stroke color (`#RRGGBB` / `#RRGGBBAA` or `[r, g, b, a]`)"
},
{
"type": "null"
}
]
},
"dash": {
"anyOf": [
{
"description": "Border dash style (`solid`, `dashed`, `dotted`, `dash_dot`, etc.)"
},
{
"type": "null"
}
]
},
"width_pt": {
"anyOf": [
{
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Updated placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"crop": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bottom_pt": {
"anyOf": [
{
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"left_pt": {
"anyOf": [
{
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"right_pt": {
"anyOf": [
{
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"top_pt": {
"anyOf": [
{
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"height_pt": {
"anyOf": [
{
"description": "Updated height in points (> 0); adjusts `width_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": "number"
},
{
"type": "null"
}
]
},
"lock_aspect_ratio": {
"anyOf": [
{
"description": "Lock or unlock intrinsic aspect ratio during single-axis resize",
"type": "boolean"
},
{
"type": "null"
}
]
},
"rotation_deg": {
"anyOf": [
{
"description": "Updated clockwise rotation in degrees",
"maximum": 3600.0,
"minimum": -3600.0,
"type": "number"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target GraphSheet ID",
"minLength": 1,
"type": "string"
},
"width_pt": {
"anyOf": [
{
"description": "Updated width in points (> 0); adjusts `height_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id",
"annotation_index"
],
"type": "object"
}
Page Layouts (9)
layout.addPanel — Add Panel to Layout
Place a live graph panel, live table panel, or markdown text callout onto a layout sheet.
MCP tool: layout_add_panel · CLI: curvebook-cli layout.addPanel [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"badge_override": {
"anyOf": [
{
"description": "Custom panel badge label overriding automatic lettering",
"type": "string"
},
{
"type": "null"
}
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Explicit `[x, y, width, height]` array or `RectPt` object in points"
},
{
"type": "null"
}
]
},
"col": {
"anyOf": [
{
"description": "Zero-based grid column index when auto-placing",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"font_size_pt": {
"anyOf": [
{
"description": "Text callout font size in points (default 10.0)",
"minimum": 0.5,
"type": "number"
},
{
"type": "null"
}
]
},
"graph_sheet_id": {
"anyOf": [
{
"description": "Source graph sheet ID when adding a live graph panel",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"gutter_pt": {
"anyOf": [
{
"description": "Grid auto-placement inter-panel gutter in points (default 12.0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"description": "Panel kind (`graph`, `table`, or `text`)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"margin_pt": {
"anyOf": [
{
"description": "Grid auto-placement outer page margin in points (default 18.0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"markdown": {
"anyOf": [
{
"description": "Markdown body text for text callout panels",
"type": "string"
},
{
"type": "null"
}
]
},
"panel_id": {
"anyOf": [
{
"description": "Optional explicit panel identifier",
"type": "string"
},
{
"type": "null"
}
]
},
"row": {
"anyOf": [
{
"description": "Zero-based grid row index when auto-placing",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"scale_percent": {
"anyOf": [
{
"description": "Live graph display scale percentage (default 100.0)",
"minimum": 0.01,
"type": "number"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
},
"source_sheet_id": {
"anyOf": [
{
"description": "Source data or result sheet ID when adding a live table panel",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"tab_id": {
"anyOf": [
{
"description": "Optional result tab ID or title for live table panels",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
layout.alignOrigins — Align Panel Origins
Enable or disable plot-area origin alignment across layout panels and optionally normalize live graph bounds.
MCP tool: layout_align_origins · CLI: curvebook-cli layout.alignOrigins [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"align": {
"anyOf": [
{
"description": "Enable or disable plot-origin alignment (default true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"normalize_bounds": {
"anyOf": [
{
"description": "Snap nearby live graph panel X/Y bounds into shared row/column bands (default true)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
layout.applyCanvasPreset — Apply Layout Canvas Preset
Resize a layout page to a standard publication canvas preset while optionally preserving typography sizes.
MCP tool: layout_apply_canvas_preset · CLI: curvebook-cli layout.applyCanvasPreset [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"preset": {
"description": "Canvas preset (`SingleColumn88mm`, `ColumnAndHalf130mm`, `DoubleColumn180mm`, `FullPagePortrait`, `Slide16x9`, `PosterPanel`)",
"minLength": 1,
"type": "string"
},
"resize_mode": {
"anyOf": [
{
"description": "Resize mode (`KeepTypographyPt` or `ProportionalScale`)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target graph or layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"preset"
],
"type": "object"
}
layout.create — New Layout
Create a new publication layout sheet with a journal width preset, page orientation, and grid template.
MCP tool: layout_create · CLI: curvebook-cli layout.create [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"align_plot_origins": {
"anyOf": [
{
"description": "Align adjacent live graph plot-area origins",
"type": "boolean"
},
{
"type": "null"
}
]
},
"background_fill": {
"anyOf": [
{
"description": "Optional page background RGBA fill or `#RRGGBB` hex; null for transparent"
},
{
"type": "null"
}
]
},
"grid_template": {
"anyOf": [
{
"description": "Optional `[rows, cols]` panel grid template; pass null to clear",
"items": {
"description": "Grid dimension count",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"description": "Page height in the configured physical unit",
"minimum": 0.01,
"type": "number"
},
{
"type": "null"
}
]
},
"orientation": {
"anyOf": [
{
"description": "Page orientation (`portrait` or `landscape`)"
},
{
"type": "null"
}
]
},
"panel_badges": {
"anyOf": [
{
"description": "Automatic panel badge style (`none`, `uppercase`, `lowercase`)"
},
{
"type": "null"
}
]
},
"preset": {
"anyOf": [
{
"description": "Journal width preset (e.g., `single_column`, `double_column`, `a4_portrait`)"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Optional explicit layout sheet ID",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional layout sheet title (defaults to `Layout 1`)",
"type": "string"
},
{
"type": "null"
}
]
},
"unit": {
"anyOf": [
{
"description": "Physical unit (`mm`, `cm`, `in`, `pt`)"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"description": "Page width in the configured physical unit",
"minimum": 0.01,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
layout.equalizeScaling — Equalize Scaling
Equalize rendered inner plot scaling across live graph panels on a layout sheet.
MCP tool: layout_equalize_scaling · CLI: curvebook-cli layout.equalizeScaling [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"mode": {
"anyOf": [
{
"description": "Scaling equalization rule (`match_smallest`, `match_largest`, or `explicit_percent`)",
"enum": [
"match_smallest",
"match_largest",
"explicit_percent",
"MatchSmallest",
"MatchLargest",
"ExplicitPercent"
],
"type": "string"
},
{
"type": "null"
}
]
},
"panel_ids": {
"anyOf": [
{
"description": "Optional subset of live graph panel IDs to equalize",
"items": {
"description": "Panel ID",
"minLength": 1,
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"panel_indices": {
"anyOf": [
{
"description": "Optional subset of zero-based panel indices to equalize",
"items": {
"description": "Panel index",
"minimum": 0,
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"percent": {
"anyOf": [
{
"description": "Explicit target scale percentage in [5.0, 500.0] for `explicit_percent`",
"maximum": 500.0,
"minimum": 5.0,
"type": "number"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
layout.insertImage — Insert Image on Layout
Embed a PNG, JPEG, or TIFF raster image item onto a publication layout sheet.
MCP tool: layout_insert_image · CLI: curvebook-cli layout.insertImage [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"asset_id": {
"anyOf": [
{
"description": "Existing content-addressed image `asset_id` already stored in the project",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"badge_override": {
"anyOf": [
{
"description": "Optional panel badge text rendered in top-left corner",
"type": "string"
},
{
"type": "null"
}
]
},
"border": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"color": {
"anyOf": [
{
"description": "Border stroke color (`#RRGGBB` / `#RRGGBBAA` or `[r, g, b, a]`)"
},
{
"type": "null"
}
]
},
"dash": {
"anyOf": [
{
"description": "Border dash style (`solid`, `dashed`, `dotted`, `dash_dot`, etc.)"
},
{
"type": "null"
}
]
},
"width_pt": {
"anyOf": [
{
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"bytes_base64": {
"anyOf": [
{
"description": "Base64-encoded PNG, JPEG, or TIFF image payload",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"crop": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bottom_pt": {
"anyOf": [
{
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"left_pt": {
"anyOf": [
{
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"right_pt": {
"anyOf": [
{
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"top_pt": {
"anyOf": [
{
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"lock_aspect_ratio": {
"anyOf": [
{
"description": "Preserve intrinsic image aspect ratio when resizing one dimension (default `true`)",
"type": "boolean"
},
{
"type": "null"
}
]
},
"panel_id": {
"anyOf": [
{
"description": "Optional explicit layout panel identifier",
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Regular local file path to a PNG, JPEG, or TIFF image (URLs rejected)",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"rotation_deg": {
"anyOf": [
{
"description": "Clockwise rotation in degrees around the center of `bounds_pt`",
"maximum": 3600.0,
"minimum": -3600.0,
"type": "number"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target LayoutSheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
layout.reorderPanel — Reorder Panel
Change the z-order stacking depth of a panel on a layout sheet.
MCP tool: layout_reorder_panel · CLI: curvebook-cli layout.reorderPanel [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"action": {
"description": "Z-order stacking action",
"enum": [
"bring_to_front",
"bring_forward",
"send_backward",
"send_to_back",
"BringToFront",
"BringForward",
"SendBackward",
"SendToBack"
],
"type": "string"
},
"panel_id": {
"anyOf": [
{
"description": "Panel ID in `layout.spec.items`",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"panel_index": {
"anyOf": [
{
"description": "Zero-based index in `layout.spec.items`",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"action"
],
"type": "object"
}
layout.setSpec — Format Layout
Update a layout sheet's page dimensions, journal preset, grid template, origin alignment, badge style, or background.
MCP tool: layout_set_spec · CLI: curvebook-cli layout.setSpec [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"align_plot_origins": {
"anyOf": [
{
"description": "Align adjacent live graph plot-area origins",
"type": "boolean"
},
{
"type": "null"
}
]
},
"background_fill": {
"anyOf": [
{
"description": "Optional page background RGBA fill or `#RRGGBB` hex; null for transparent"
},
{
"type": "null"
}
]
},
"grid_template": {
"anyOf": [
{
"description": "Optional `[rows, cols]` panel grid template; pass null to clear",
"items": {
"description": "Grid dimension count",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"description": "Page height in the configured physical unit",
"minimum": 0.01,
"type": "number"
},
{
"type": "null"
}
]
},
"orientation": {
"anyOf": [
{
"description": "Page orientation (`portrait` or `landscape`)"
},
{
"type": "null"
}
]
},
"panel_badges": {
"anyOf": [
{
"description": "Automatic panel badge style (`none`, `uppercase`, `lowercase`)"
},
{
"type": "null"
}
]
},
"preset": {
"anyOf": [
{
"description": "Journal width preset (e.g., `single_column`, `double_column`, `a4_portrait`)"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
},
"spec": {
"anyOf": [
{
"description": "Partial or full `LayoutSpec` JSON overlay",
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional updated layout sheet title",
"type": "string"
},
{
"type": "null"
}
]
},
"unit": {
"anyOf": [
{
"description": "Physical unit (`mm`, `cm`, `in`, `pt`)"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"description": "Page width in the configured physical unit",
"minimum": 0.01,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
layout.updateImage — Format Embedded Layout Image
Update placement bounds, aspect-ratio lock, rotation, crop insets, border, or badge override on a layout image.
MCP tool: layout_update_image · CLI: curvebook-cli layout.updateImage [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"badge_override": {
"anyOf": [
{
"description": "Updated corner badge label; pass null to clear",
"type": "string"
},
{
"type": "null"
}
]
},
"border": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"color": {
"anyOf": [
{
"description": "Border stroke color (`#RRGGBB` / `#RRGGBBAA` or `[r, g, b, a]`)"
},
{
"type": "null"
}
]
},
"dash": {
"anyOf": [
{
"description": "Border dash style (`solid`, `dashed`, `dotted`, `dash_dot`, etc.)"
},
{
"type": "null"
}
]
},
"width_pt": {
"anyOf": [
{
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Updated placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"crop": {
"anyOf": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bottom_pt": {
"anyOf": [
{
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"left_pt": {
"anyOf": [
{
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"right_pt": {
"anyOf": [
{
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
},
"top_pt": {
"anyOf": [
{
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"height_pt": {
"anyOf": [
{
"description": "Updated height in points (> 0); adjusts `width_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": "number"
},
{
"type": "null"
}
]
},
"item_index": {
"anyOf": [
{
"description": "Zero-based index of the EmbeddedImage item",
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"lock_aspect_ratio": {
"anyOf": [
{
"description": "Lock or unlock intrinsic aspect ratio during single-axis resize",
"type": "boolean"
},
{
"type": "null"
}
]
},
"panel_id": {
"anyOf": [
{
"description": "Target EmbeddedImage `panel_id` (provide `panel_id` or `item_index`)",
"type": "string"
},
{
"type": "null"
}
]
},
"rotation_deg": {
"anyOf": [
{
"description": "Updated clockwise rotation in degrees",
"maximum": 3600.0,
"minimum": -3600.0,
"type": "number"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target LayoutSheet ID",
"minLength": 1,
"type": "string"
},
"width_pt": {
"anyOf": [
{
"description": "Updated width in points (> 0); adjusts `height_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Vector & Raster Export (9)
export.pdf — Export PDF
Render one or more graph or layout sheets to publication PDF (sRGB or print CMYK) and optionally write it atomically to disk.
MCP tool: export_pdf · CLI: curvebook-cli export.pdf [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"color_space": {
"anyOf": [
{
"description": "PDF output color space (`srgb` or `cmyk`)",
"type": "string"
},
{
"type": "null"
}
]
},
"compress_streams": {
"anyOf": [
{
"description": "Compress PDF content streams",
"type": "boolean"
},
{
"type": "null"
}
]
},
"outline_text": {
"anyOf": [
{
"description": "Outline text glyphs into vector paths",
"type": "boolean"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output PDF file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Graph or layout sheet ID for single-page PDF",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_ids": {
"anyOf": [
{
"description": "Ordered sheet IDs for multi-page PDF export",
"items": {
"description": "Sheet ID",
"minLength": 1,
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional PDF document title metadata",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
export.png — Export PNG
Rasterize a graph or layout sheet to a PNG image at the requested pixel dimensions or DPI.
MCP tool: export_png · CLI: curvebook-cli export.png [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"dpi": {
"anyOf": [
{
"description": "Target resolution in dots per inch (default 300)",
"maximum": 65535,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"height_px": {
"anyOf": [
{
"description": "Explicit raster height in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output PNG file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to rasterize",
"minLength": 1,
"type": "string"
},
"width_px": {
"anyOf": [
{
"description": "Explicit raster width in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
export.svg — Export SVG
Render a graph or layout sheet to scalable vector graphics (SVG) and optionally write it atomically to disk.
MCP tool: export_svg · CLI: curvebook-cli export.svg [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"embed_fonts": {
"anyOf": [
{
"description": "Embed bundled font faces",
"type": "boolean"
},
{
"type": "null"
}
]
},
"include_metadata": {
"anyOf": [
{
"description": "Include document metadata block",
"type": "boolean"
},
{
"type": "null"
}
]
},
"include_xml_declaration": {
"anyOf": [
{
"description": "Include leading XML declaration",
"type": "boolean"
},
{
"type": "null"
}
]
},
"outline_text": {
"anyOf": [
{
"description": "Convert glyphs into vector outline paths",
"type": "boolean"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"precision": {
"anyOf": [
{
"description": "Numeric coordinate decimal precision (0..=255)",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"pretty": {
"anyOf": [
{
"description": "Format SVG XML with indentation",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
export.tiff — Export TIFF
Rasterize a graph or layout sheet to a TIFF image with selectable compression (`none`, `lzw`, `deflate`).
MCP tool: export_tiff · CLI: curvebook-cli export.tiff [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"compression": {
"anyOf": [
{
"description": "TIFF compression codec (`none`, `lzw`, `deflate`)",
"type": "string"
},
{
"type": "null"
}
]
},
"dpi": {
"anyOf": [
{
"description": "Target resolution in dots per inch (default 300)",
"maximum": 65535,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"height_px": {
"anyOf": [
{
"description": "Explicit raster height in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output TIFF file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to rasterize",
"minLength": 1,
"type": "string"
},
"width_px": {
"anyOf": [
{
"description": "Explicit raster width in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.exportEmf — Export Graph EMF
Export a graph sheet as a Windows Enhanced Metafile (EMF) vector graphic.
MCP tool: graph_export_emf · CLI: curvebook-cli graph.exportEmf [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"path": {
"anyOf": [
{
"description": "Optional output EMF file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target sheet ID to export to EMF",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.exportPdf — Export Graph PDF
Export a graph sheet (or sheet list) to vector PDF.
MCP tool: graph_export_pdf · CLI: curvebook-cli graph.exportPdf [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"color_space": {
"anyOf": [
{
"description": "PDF output color space (`srgb` or `cmyk`)",
"type": "string"
},
{
"type": "null"
}
]
},
"compress_streams": {
"anyOf": [
{
"description": "Compress PDF content streams",
"type": "boolean"
},
{
"type": "null"
}
]
},
"outline_text": {
"anyOf": [
{
"description": "Outline text glyphs into vector paths",
"type": "boolean"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output PDF file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"anyOf": [
{
"description": "Graph or layout sheet ID for single-page PDF",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_ids": {
"anyOf": [
{
"description": "Ordered sheet IDs for multi-page PDF export",
"items": {
"description": "Sheet ID",
"minLength": 1,
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"description": "Optional PDF document title metadata",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
graph.exportPng — Export Graph PNG
Export a graph sheet to a raster PNG image.
MCP tool: graph_export_png · CLI: curvebook-cli graph.exportPng [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"dpi": {
"anyOf": [
{
"description": "Target resolution in dots per inch (default 300)",
"maximum": 65535,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"height_px": {
"anyOf": [
{
"description": "Explicit raster height in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output PNG file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to rasterize",
"minLength": 1,
"type": "string"
},
"width_px": {
"anyOf": [
{
"description": "Explicit raster width in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
graph.exportSvg — Export Graph SVG
Export a graph sheet to SVG using the unified SVG renderer.
MCP tool: graph_export_svg · CLI: curvebook-cli graph.exportSvg [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"embed_fonts": {
"anyOf": [
{
"description": "Embed bundled font faces",
"type": "boolean"
},
{
"type": "null"
}
]
},
"include_metadata": {
"anyOf": [
{
"description": "Include document metadata block",
"type": "boolean"
},
{
"type": "null"
}
]
},
"include_xml_declaration": {
"anyOf": [
{
"description": "Include leading XML declaration",
"type": "boolean"
},
{
"type": "null"
}
]
},
"outline_text": {
"anyOf": [
{
"description": "Convert glyphs into vector outline paths",
"type": "boolean"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"description": "Optional output file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"precision": {
"anyOf": [
{
"description": "Numeric coordinate decimal precision (0..=255)",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"pretty": {
"anyOf": [
{
"description": "Format SVG XML with indentation",
"type": "boolean"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
layout.exportEmf — Export Layout EMF
Export a multi-panel layout sheet as a Windows Enhanced Metafile (EMF) vector graphic.
MCP tool: layout_export_emf · CLI: curvebook-cli layout.exportEmf [flags]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"path": {
"anyOf": [
{
"description": "Optional output EMF file path",
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sheet_id": {
"description": "Target sheet ID to export to EMF",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Desktop UI Commands (UI_COMMANDS)
| ID | Label | Shortcut | Params | Summary |
|---|---|---|---|---|
ui.navigator.toggle | Toggle Project Navigator | Cmd+Shift+N | {} | Show or hide the left Project Navigator sheet tree. |
ui.inspector.toggle | Toggle Format Inspector | Cmd+Shift+I | {} | Show or hide the right-hand Format Inspector drawer. |
ui.family.toggle | Toggle Family Strip | Cmd+Shift+F | {} | Show or hide the bottom linked-sheet Family Strip. |
ui.palette.open | Open Command Palette | Cmd+K | {} | Open the fuzzy-searchable Cmd+K Command Palette. |
ui.analyze.open | Open Analyze Dialog | Cmd+Shift+A | {"sheet_id":"optional SheetId"} | Open the scientific analysis wizard for the selected data sheet. |
ui.editParams.open | Change Analysis Parameters... | Cmd+T | {"sheet_id":"optional ResultSheetId"} | Open the Change Analysis Parameters dialog for the active or specified result sheet. |
ui.changeGraphType.open | Open Change Graph Type Dialog | Cmd+Shift+G | {"sheet_id":"optional GraphSheetId"} | Open the dialog to switch chart style or summary error bars. |
ui.clonePipeline.open | Open Clone Analysis Pipeline Wizard | — | {"sheet_id":"optional SheetId"} | Open the wizard to clone a sheet and its downstream pipeline. |
ui.zoom.fitSheet | Zoom to Fit Sheet | Cmd+0 | {} | Reset canvas zoom so the active sheet fits the viewport. |
ui.gallery.toggle | Toggle Portfolio Gallery | — | {"folder":"optional all|data|info|results|graphs|layouts","open":"optional bool"} | Show or hide the multi-sheet Portfolio Gallery thumbnail view. |
ui.rulers.toggle | Toggle Canvas Physical Rulers | — | {"unit":"optional pt|in|mm","visible":"optional bool"} | Toggle physical pt/in/mm rulers around the graph and layout canvas. |
ui.pane.cycle | Cycle Active Workspace Pane | F6 | {"reverse":false} | Move keyboard focus to the next or previous workspace pane. |
ui.shortcut.set | Customize Keyboard Shortcut | — | {"command_id":"string","shortcut":"string"} | Assign a custom key combination to an engine or UI command. |
ui.shortcut.reset | Reset Keyboard Shortcut | — | {"command_id":"optional string"} | Restore one or all keyboard shortcuts to built-in defaults. |
ui.locale.set | Set UI Locale | — | {"locale":"en|de|es|fr|ja|ko|pt-BR|zh-CN|zh-TW|it|nl|pl|ru|tr|ar|he"} | Switch interface language and regional number/CSV formatting. |
ui.theme.set | Set UI Theme Mode | — | {"mode":"light|dark|high_contrast"} | Switch the desktop UI between Light, Dark, and High Contrast themes. |
ui.screenshot | Capture Workspace Screenshot PNG | — | {"target":"optional full_window|workspace|viewport|canvas|dialog","width_px":"optional 64..=4096 (default 1024)","height_px":"optional 64..=4096 (default 640)","dpi":"optional 72..=600 (default 144)","path":"optional.png (blocked under --gui-only)"} | Render the full compositor workspace layout to an RGBA PNG image. |
ui.event.dispatch | Dispatch Interactive Input Event | — | {"event":{"PointerDown":{"x":0.0,"y":0.0,"button":"Primary","modifiers":{}}},"metrics":{"logical_width":1024.0,"logical_height":640.0,"scale_factor":1.0}} | Inject a synthetic pointer or keyboard event into the workspace. |
ui.split.toggle | Toggle Split Data + Graph Workspace | Cmd+\ | {"enabled":"optional bool","ratio":"optional 0.2..0.8","primary_sheet_id":"optional SheetId","secondary_sheet_id":"optional SheetId"} | Show or resize a side-by-side split view of two sheets. |
ui.brush.point | Brush Data Cell / Plotted Point | — | {"sheet_id":"SheetId","row":0,"col":0,"subcol":0,"clear":"optional bool"} | Highlight a data cell and its corresponding plotted point across panes. |
ui.result.copyMethodsReport | Copy Methods & Statistical Reporting | — | {"result_sheet_id":"optional ResultSheetId","format":"optional plain|markdown|latex"} | Copy reproducible statistical methods text for a result sheet. |
ui.result.applyRemediation | Diagnostic Remediation Disabled (Diagnostics-Only) | — | {"result_sheet_id":"optional ResultSheetId"} | Deprecated under diagnostics-only policy; does not create sibling analyses or mutate the project. |
ui.result.inspectDiagnostics | Inspect Result Diagnostic Tabs | — | {"result_sheet_id":"optional ResultSheetId","tab_id":"optional string"} | Switch to the Diagnostics, Normal Q-Q, Residuals, Covariance, or Log-Minus-Log tab on the same ResultSheet. |
ui.canvas.applyPreset | Apply Journal / Presentation Canvas Preset | — | {"sheet_id":"optional SheetId","preset":"SingleColumn88mm|ColumnAndHalf130mm|DoubleColumn180mm|FullPagePortrait|Slide16x9|PosterPanel","resize_mode":"KeepTypographyPt|ProportionalScale"} | Resize a graph or layout sheet to a publication or slide preset. |
ui.canvas.preflight | Run Publication Preflight Check | — | {"sheet_id":"optional SheetId"} | Audit figure typography, contrast, clipping, and print dimensions. |
ui.previewFilter.set | Set Viewport Color-Vision / Grayscale Preview Filter | — | {"filter":"normal|deuteranopia|protanopia|tritanopia|grayscale"} | Simulate color-vision deficiency or grayscale printing on the canvas. |
ui.grid.excludeWithReason | Exclude Selection with Auditable Reason... | Cmd+Shift+E | {"sheet_id":"optional SheetId","reason_tag":"optional string","note":"optional string"} | Mark selected cells as excluded with a structured reason tag and note. |
ui.table.convertArchetype.open | Convert Table Archetype... | — | {"sheet_id":"optional SheetId"} | Open the non-destructive table archetype conversion preview dialog. |
ui.import.reshape.open | Open Plate / Tidy Long Import Reshape | — | {"mode":"optional Plate96|Plate384|TidyLongPivot"} | Open the microplate or tidy-long CSV reshape import dialog. |
ui.print.open | Print... | Cmd+P | {"sheet_id":"optional SheetId","copies":"optional u16","printer":"optional string","spool":"optional bool"} | Open the publication-scale Print Setup dialog for graphs and layouts. |
ui.powerWizard.open | Power and Sample Size... | — | {"family":"optional PowerTestFamily"} | Open the interactive 4-stage Power and Sample Size Wizard. |
ui.formatPoints.open | Format Selected Points... | — | {"sheet_id":"optional GraphSheetId","points":"optional array"} | Open the Format Selected Points dialog to override symbol shape, color, size, or row labels. |
ui.table.randomizeGroups | Randomize Subjects to Groups Dialog... | — | {"groups":"optional list","subject_count":"optional usize","scheme":"complete_balanced|permuted_block","seed":"optional u64"} | Open the Randomize Subjects to Groups dialog for complete balanced or permuted-block assignment. |
ui.table.randomSampleRows | Random Sample Rows Dialog... | — | {"source_sheet_id":"optional SheetId","sample_size":"optional usize","seed":"optional u64","stratify_column":"optional usize"} | Open the Random Sample Rows dialog for simple or stratified subsampling without replacement. |
ui.table.simulateDistributions | Simulate Distributions Dialog... | — | {"n_rows":"optional usize","seed":"optional u64","columns":"optional array"} | Open the Simulate Distributions dialog to generate Uniform, Gaussian, LogNormal, Binomial, Poisson, or Exponential data. |
ui.table.openFormulaBar | Open Formula Bar... | — | {"sheet_id":"optional DataSheetId","column":"optional usize or variable title","title":"optional string"} | Focus and open the inline formula bar for a MultipleVariables column to define or inspect a formula-derived calculated variable. |
ui.result.appendClusterColumn | Append Cluster Column to Source Table | — | {"sheet_id":"optional ResultSheetId","column_title":"optional string"} | Read k-means cluster assignments from a Clustering ResultSheet and append/update a Categorical Cluster column on the source MultipleVariables table. |
ui.graph.axes.open | Format Axes... | — | {"sheet_id":"optional GraphSheetId","target_axis":"optional X|Y|Y2"} | Open the Format Axes dialog to configure axis titles, log/linear scales, bounds, broken axis segments, and reference thresholds. |
ui.graph.insertModelEquation | Insert Fitted Model Equation... | — | {"sheet_id":"optional GraphSheetId","result_sheet_id":"optional ResultSheetId","mode":"substituted|symbolic"} | Open the Insert Model Equation dialog to add or toggle a symbolic or substituted regression equation on a graph. |
ui.graph.bubblePlot.open | Bubble Plot Channels... | — | {"sheet_id":"optional GraphSheetId"} | Open the Bubble Plot 5-channel encoding inspector (X, Y, color, size, label, convex hulls, ellipses). |
ui.graph.format.open | Format Graph... | — | {"sheet_id":"optional GraphSheetId"} | Open Format Graph controls for palette, frame preset, error bars, violin/raincloud geometry, and equation mode. |
ui.graph.pairwise.open | Pairwise Comparison Brackets... | — | {"sheet_id":"optional GraphSheetId"} | Open Pairwise Comparison Brackets to auto-add and style significance brackets from an upstream result sheet. |
ui.applyStyleFrom.open | Apply Style From... | — | {"sheet_id":"optional GraphSheetId"} | Open Apply Style From to clone palette, stroke, axis, or legend styling from another graph sheet. |
ui.layout.composer.open | Page Layout Composer... | — | {"sheet_id":"optional LayoutSheetId"} | Open Page Layout Composer for journal width presets, grid slots, origin alignment, and panel badges. |
ui.export.figure.open | Export Figure... | — | {"sheet_id":"optional SheetId","format":"svg|pdf|png|tiff"} | Open Export Figure options for SVG, PDF, PNG, or TIFF output resolution and DPI. |
app.about | About CurveBook | — | {} | Open the About CurveBook version and build information dialog. |
app.feedback | Send Feedback... | — | {"category":"optional bug|feature|numerical"} | Open the Send Feedback dialog to compose a prefilled GitHub issue or copy a Markdown report. |
ui.view.rowTitles.toggle | Row Titles | — | {"collapsed":"optional bool"} | Toggle or explicitly expand/collapse the Row Titles column band in the data table grid. |
ui.graph.create.open | New Graph... | — | {"data_sheet_id":"optional SheetId","kind":"optional GraphKind","one_per_data_set":"optional bool","y_axis_title":"optional string"} | Open the Create New Graph dialog to choose source table, graph kind, Y-axis title, or one-graph-per-data-set creation. |
ui.layout.equalizeScaling.open | Equalize Scaling... | — | {"sheet_id":"optional LayoutSheetId","mode":"optional match_smallest|match_largest|explicit_percent","percent":"optional f64"} | Open the Equalize Scaling dialog to match inner plot scaling across graph panels on a layout. |
ui.gridOverlay.toggle | Canvas Grid | — | {"visible":"optional bool","spacing_pt":"optional number"} | Toggle the non-exported alignment grid overlay on GraphSheet and LayoutSheet canvases. |
ui.embeddedTable.format.open | Format Embedded Table... | — | {"sheet_id":"optional GraphSheetId|LayoutSheetId","annotation_index":"optional usize","panel_index":"optional usize"} | Open the Format Embedded Table dialog for a pasted ResultSheet or LiveTable annotation. |
ui.image.format.open | Format Image... | — | {"sheet_id":"optional GraphSheetId|LayoutSheetId","annotation_index":"optional usize","panel_index":"optional usize"} | Open the Format Image dialog to edit bounds, aspect lock, rotation, 4-edge crop, and border. |
ui.clipboard.copyForSlides | Copy for Slides & Documents | Cmd+Shift+C | {"sheet_id":"optional GraphSheetId|LayoutSheetId","dpi":"optional u16 (72..=1200, default 300)"} | Copy the active graph or layout figure at 300 DPI (PDF, PNG, TIFF, EMF, SVG, and <img> HTML) without raw SVG XML plain-text fallback for Keynote, PowerPoint, and Word. |
ui.import.warnings.open | Import Warnings... | — | {} | Open the Import Warnings panel showing non-fatal warnings from the latest file import. |
ui.export.tableCsv.open | CSV Table... | — | {"sheet_id":"optional DataSheetId"} | Open CSV Export Options for the active data table (delimiter and decimal separator). |
ui.export.resultsCsv.open | CSV Results... | — | {"sheet_id":"optional ResultSheetId"} | Open CSV Export Options for the active result sheet (all tabs tidy or single tab, delimiter, decimal separator). |
ui.export.allTablesCsv.open | Export All Data Tables... | — | {} | Open CSV Export Options to batch-export every data table in the project to a folder. |
ui.export.allTablesCsv | Export All Data Tables | — | {"delimiter":"optional ,|;|\t","decimal_separator":"optional .|,"} | Export every data table in the project as one delimited file per table into a chosen folder. |