MCP Tools, Toolsets, Resources & Prompts
On this page
- Core MCP Tools
- Dynamic CommandGroup Toolsets
- — Toolset: project (12)
- — Toolset: edit (4)
- — Toolset: sheet (11)
- — Toolset: table (29)
- — Toolset: info (3)
- — Toolset: analysis (12)
- — Toolset: graph (17)
- — Toolset: layout (9)
- — Toolset: export (9)
- Interactive GUI Toolset (gui)
- Resource URI Schemes
- Built-in Workflow Prompts
Complete MCP JSON-RPC 2.0 surface generated from curvebook-mcp: 10 core tools, 8 interactive gui tools, 9 dynamic CommandGroup toolsets, resources, and prompts.
See MCP Server Reference for transport framing and --gui-only policy details.
Core MCP Tools
doc_inspect
Inspect the active project's sheets, variables, analyses, graphs, and layouts (supports compact summaries, section filtering, and bounded cell/tab previews). Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-doc_inspect.
Input schema:
{
"additionalProperties": false,
"properties": {
"detail": {
"description": "Detail level: 'compact' omits large scalar arrays and specs, 'standard' (default) returns bounded summaries, 'full' includes full specs/null metadata.",
"enum": [
"compact",
"standard",
"full"
],
"type": "string"
},
"include_cells": {
"description": "Include preview cell contents, result tabs/checklist, or full graph/layout spec when inspecting a single sheet.",
"type": "boolean"
},
"max_rows": {
"description": "Maximum CSV preview rows or ResultTab rows returned when include_cells is true (default 100).",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"max_scalars": {
"description": "Maximum scalar entries returned per ResultSheet (default 2048).",
"maximum": 2048,
"minimum": 1,
"type": "integer"
},
"sections": {
"description": "Optional project overview sections to return.",
"items": {
"enum": [
"data",
"info",
"analyses",
"graphs",
"layouts",
"variables",
"hooks"
],
"type": "string"
},
"type": "array"
},
"sheet_id": {
"description": "Optional specific sheet ID to inspect.",
"type": "string"
},
"tab_id": {
"description": "Filter single ResultSheet inspection to one ResultTab ID (when include_cells is true).",
"type": "string"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"doc_inspect"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
open_file
Open or import a .curvebook, .curvebook.d, .cbtemplate, .prism, .pzfx, .xlsx, .csv, or .tsv file into the session (supports .xlsx sheet listing via `list_sheets` and multi-sheet selection via `sheets`/`sheet_indices`). Docs: manual/v0.1/registry/mcp-tools.html#mcp-tool-open_file.
Input schema:
{
"additionalProperties": false,
"properties": {
"append": {
"description": "When importing CSV, TSV, XLSX, or external archive/XML files, append/merge sheets into the active project instead of replacing it.",
"type": "boolean"
},
"delimiter": {
"description": "Optional single-character delimiter override for delimited text (omit to auto-detect comma, tab, semicolon, and European decimal comma).",
"type": "string"
},
"format": {
"enum": [
"curvebook",
"curvebook.d",
"cbtemplate",
"prism",
"pzfx",
"xlsx",
"csv",
"tsv"
],
"type": "string"
},
"has_header": {
"description": "Treat top row(s) of `.xlsx` sheets as column headers (default true).",
"type": "boolean"
},
"has_row_titles": {
"description": "Treat first column of each `.xlsx` sheet as row titles.",
"type": "boolean"
},
"header_rows": {
"description": "Number of header rows to combine per `.xlsx` sheet (default 1 when has_header is true).",
"maximum": 16,
"minimum": 0,
"type": "integer"
},
"list_sheets": {
"description": "When true for `.xlsx`, list workbook sheets without mutating the session.",
"type": "boolean"
},
"path": {
"description": "Filesystem path to open or import.",
"type": "string"
},
"sheet_id": {
"description": "Sheet ID used when importing delimited data.",
"type": "string"
},
"sheet_indices": {
"description": "Optional zero-based `.xlsx` worksheet indices to import.",
"items": {
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"sheets": {
"description": "Optional `.xlsx` worksheet names to import.",
"items": {
"type": "string"
},
"type": "array"
},
"subcolumn_mode": {
"description": "Optional subcolumn layout (e.g. 'none', 'replicates:3', 'mean_sd_n', 'mean_sem_n', 'mean_sd', 'mean_sem').",
"type": "string"
},
"target_kind": {
"enum": [
"xy",
"column",
"grouped",
"contingency",
"survival",
"parts_of_whole",
"multiple_variables",
"nested"
],
"type": "string"
},
"title": {
"description": "Optional title override for imported sheet or instantiated template.",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"path":"<path>"},"name":"open_file"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
save_file
Save the current document as a .curvebook archive, .curvebook.d unpacked directory, or .cbtemplate template (atomically overwrites any existing destination target). Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-save_file.
Input schema:
{
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"curvebook",
"curvebook.d",
"cbtemplate"
],
"type": "string"
},
"path": {
"description": "Destination file path (atomically overwrites any existing target; defaults to current project path when available).",
"type": "string"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"save_file"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
command_list
List headless engine commands and desktop UI commands (marked with "ui": true); returns compact summaries by default or full schemas when filtering a single `command_id` or passing `include_schemas: true`. Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-command_list.
Input schema:
{
"additionalProperties": false,
"properties": {
"command_id": {
"description": "Optional exact command ID (or mcp_tool name) to inspect with its parameter schema.",
"type": "string"
},
"detail": {
"description": "'summary' (default) omits empty metadata and schemas; 'full' includes schemas, effects, menu paths, and beginner notes.",
"enum": [
"summary",
"full"
],
"type": "string"
},
"filter": {
"description": "Case-insensitive substring filter across id, mcp_tool, label, menu_path, and summary.",
"type": "string"
},
"group": {
"description": "Optional engine CommandGroup filter.",
"enum": [
"project",
"edit",
"sheet",
"table",
"info",
"analysis",
"graph",
"layout",
"export"
],
"type": "string"
},
"include_schemas": {
"description": "Include compacted parameter JSON schemas (default: false for lists, true when command_id is supplied).",
"type": "boolean"
},
"include_ui": {
"description": "Include UI-only commands from ui_catalog (default: true).",
"type": "boolean"
},
"ui_only": {
"description": "Return only UI-only commands (default: false).",
"type": "boolean"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"command_list"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
command_run
Execute a single engine command (or live UI command when attached to --control) with JSON parameters. Use `command_list(command_id=..., include_schemas=true)` to inspect exact parameter fields. Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-command_run.
Input schema:
{
"additionalProperties": false,
"properties": {
"command_id": {
"description": "Catalog command identifier (e.g. sheet.createData, table.excludeCellsWithReason, stats.run, fit.run, graph.setAxes).",
"type": "string"
},
"params": {
"description": "Command parameter payload object (inspect exact keys via `command_list` with `command_id`).",
"type": "object"
}
},
"required": [
"command_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"command_id":"<command_id>"},"name":"command_run"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
command_batch
Execute a sequence of commands, optionally with atomic rollback if any step fails. Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-command_batch.
Input schema:
{
"additionalProperties": false,
"properties": {
"atomic": {
"description": "Roll back in-memory session mutations if any command in the batch fails (default: false; filesystem writes cannot be unlinked and set filesystem_side_effects_persisted: true with rolled_back: false).",
"type": "boolean"
},
"commands": {
"items": {
"properties": {
"command_id": {
"type": "string"
},
"params": {
"type": "object"
}
},
"required": [
"command_id"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"commands"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"commands":[]},"name":"command_batch"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
render_preview
Compile a GraphSheet or LayoutSheet and rasterize a PNG preview with metadata. Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-render_preview.
Input schema:
{
"additionalProperties": false,
"properties": {
"dpi": {
"maximum": 2400,
"minimum": 18,
"type": "integer"
},
"height_px": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"sheet_id": {
"description": "GraphSheet or LayoutSheet ID (defaults to active or first graph/layout).",
"type": "string"
},
"width_px": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"render_preview"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"data":"<base64-png>","mimeType":"image/png","type":"image"},{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
export
Export a sheet or project to svg, pdf, emf, png, tiff, csv, tsv, or json (to disk, atomically overwriting any existing file, or inline). Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-export.
Input schema:
{
"additionalProperties": false,
"properties": {
"all_graphs": {
"type": "boolean"
},
"csv_delimiter": {
"type": "string"
},
"dpi": {
"maximum": 2400,
"minimum": 18,
"type": "integer"
},
"format": {
"enum": [
"svg",
"pdf",
"emf",
"png",
"tiff",
"csv",
"tsv",
"json"
],
"type": "string"
},
"height_px": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
},
"output_path": {
"description": "Optional destination path (atomically overwrites any existing file).",
"type": "string"
},
"path": {
"description": "Alias for output_path (atomically overwrites any existing file).",
"type": "string"
},
"pdf_color_space": {
"enum": [
"srgb",
"cmyk",
"grayscale"
],
"type": "string"
},
"pdf_version": {
"description": "PDF specification version for PDF export (default: \"1.7\").",
"enum": [
"1.4",
"1.7"
],
"type": "string"
},
"pretty": {
"type": "boolean"
},
"sheet_id": {
"type": "string"
},
"svg_precision": {
"maximum": 8,
"minimum": 1,
"type": "integer"
},
"tab_id": {
"description": "Specific ResultSheet tab ID to export via CSV/TSV (defaults tidy to false when supplied).",
"type": "string"
},
"tidy": {
"description": "Export ResultSheet in tidy long format (defaults to true when tab_id is omitted, and false when tab_id is supplied; passing tidy: true with tab_id is rejected).",
"type": "boolean"
},
"tiff_compression": {
"enum": [
"none",
"deflate",
"lzw"
],
"type": "string"
},
"ttf_font": {
"description": "Optional path to a TrueType (.ttf) font file for PDF embedding.",
"type": "string"
},
"width_px": {
"maximum": 8192,
"minimum": 1,
"type": "integer"
}
},
"required": [
"format"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"format":"svg"},"name":"export"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
list_toolsets
List CommandGroup toolsets, their enabled status, and per-command MCP tools (pass `include_tools: false` for group inventory only). Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-list_toolsets.
Input schema:
{
"additionalProperties": false,
"properties": {
"detail": {
"description": "'compact' (default) omits redundant annotations/labels; 'full' includes full labels, descriptions, and annotations.",
"enum": [
"compact",
"full"
],
"type": "string"
},
"group": {
"description": "Optional single CommandGroup filter.",
"enum": [
"project",
"edit",
"sheet",
"table",
"info",
"analysis",
"graph",
"layout",
"export"
],
"type": "string"
},
"include_tools": {
"description": "Include per-command tool entries inside each group (default: true).",
"type": "boolean"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"list_toolsets"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
enable_toolset
Enable or disable progressive CommandGroup per-command tools or the 'gui' toolset (emits notifications/tools/list_changed when modified). Docs: https://hausergroup.github.io/curvebook/manual/v0.1/registry/mcp-tools.html#mcp-tool-enable_toolset.
Input schema:
{
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enable (true, default) or disable (false) the requested toolset(s).",
"type": "boolean"
},
"group": {
"description": "Single CommandGroup, 'gui', or 'all' to toggle.",
"enum": [
"all",
"project",
"edit",
"sheet",
"table",
"info",
"analysis",
"graph",
"layout",
"export",
"gui"
],
"type": "string"
},
"groups": {
"description": "Multiple CommandGroups (or 'gui') to toggle.",
"items": {
"enum": [
"project",
"edit",
"sheet",
"table",
"info",
"analysis",
"graph",
"layout",
"export",
"gui"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"enable_toolset"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Dynamic CommandGroup Toolsets
Toolset: project (12)
file_new
[file.new] New Project — Create a fresh empty CurveBook project.
Input schema:
{
"additionalProperties": false,
"properties": {
"title": {
"description": "Title for the new project (defaults to `Untitled Project`)",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"file_new"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_create_checkpoint
[project.createCheckpoint] Create Checkpoint — Save a named project snapshot checkpoint inside the document.
Input schema:
{
"additionalProperties": false,
"properties": {
"id": {
"description": "Optional unique checkpoint ID (auto-generated if omitted)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"name": {
"description": "Human-readable checkpoint name",
"minLength": 1,
"type": "string"
},
"note": {
"description": "Optional checkpoint description or note",
"type": [
"string",
"null"
]
},
"timestamp_utc": {
"description": "Optional explicit ISO-8601 UTC timestamp",
"type": [
"string",
"null"
]
}
},
"required": [
"name"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"name":"<name>"},"name":"project_create_checkpoint"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_delete_checkpoint
[project.deleteCheckpoint] Delete Checkpoint — Remove a named checkpoint from the project.
Input schema:
{
"additionalProperties": false,
"properties": {
"id": {
"description": "Checkpoint ID to locate",
"type": [
"string",
"null"
]
},
"name": {
"description": "Checkpoint name to locate",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_delete_checkpoint"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_inspect
[project.inspect] Inspect Project — Inspect sheet structure, metadata, and upstream dependency edges.
Input schema:
{
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "Optional sheet ID to focus dependency and section inspection on",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_inspect"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_instantiate_template
[project.instantiateTemplate] New Project From Template — Create a new project from a `.cbtemplate` archive.
Input schema:
{
"additionalProperties": false,
"properties": {
"bytes_base64": {
"description": "Base64-encoded `.cbtemplate` archive bytes",
"type": [
"string",
"null"
]
},
"path": {
"description": "Path to `.cbtemplate` archive file",
"type": [
"string",
"null"
]
},
"title": {
"description": "Optional title override for the instantiated project",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_instantiate_template"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_list_checkpoints
[project.listCheckpoints] List Checkpoints — List named checkpoints stored in the project.
Input schema:
{
"additionalProperties": false,
"properties": {},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_list_checkpoints"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_new
[project.new] New Project — Create a fresh empty CurveBook project.
Input schema:
{
"additionalProperties": false,
"properties": {
"title": {
"description": "Title for the new project (defaults to `Untitled Project`)",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_new"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_open
[project.open] Open Project — Load a `.curvebook` archive or unpacked `.curvebook.d/` directory.
Input schema:
{
"additionalProperties": false,
"properties": {
"bytes_base64": {
"description": "Base64-encoded `.curvebook` zip archive bytes",
"type": [
"string",
"null"
]
},
"path": {
"description": "Filesystem path to `.curvebook` archive or `.curvebook.d/` directory",
"type": [
"string",
"null"
]
},
"unpacked": {
"description": "Treat `path` as an unpacked `.curvebook.d/` project directory",
"type": [
"boolean",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_open"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_recalculate
[project.recalculate] Recalculate All — Refresh live links and recalculate all downstream analyses and graphs.
Input schema:
{
"additionalProperties": false,
"properties": {
"include_external_links": {
"description": "Refresh external delimited-file links before recalculating downstream analyses (default true)",
"type": [
"boolean",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_recalculate"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_restore_checkpoint
[project.restoreCheckpoint] Restore Checkpoint — Restore the document to a previously saved named checkpoint.
Input schema:
{
"additionalProperties": false,
"properties": {
"id": {
"description": "Checkpoint ID to locate",
"type": [
"string",
"null"
]
},
"name": {
"description": "Checkpoint name to locate",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_restore_checkpoint"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_save
[project.save] Save Project — Save the active project atomically to `.curvebook`, unpacked directory, or bytes.
Input schema:
{
"additionalProperties": false,
"properties": {
"path": {
"description": "Destination `.curvebook` archive path or `.curvebook.d/` directory",
"type": [
"string",
"null"
]
},
"return_bytes": {
"description": "Include base64-encoded `.curvebook` bytes in response (defaults to true when `path` is omitted)",
"type": [
"boolean",
"null"
]
},
"unpacked": {
"description": "Save as an unpacked `.curvebook.d/` project directory",
"type": [
"boolean",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_save"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
project_save_template
[project.saveTemplate] Save Template — Export the project structure as a data-stripped `.cbtemplate` file.
Input schema:
{
"additionalProperties": false,
"properties": {
"path": {
"description": "Destination `.cbtemplate` file path",
"type": [
"string",
"null"
]
},
"return_bytes": {
"description": "Include base64-encoded template bytes in response (defaults to true when `path` is omitted)",
"type": [
"boolean",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"project_save_template"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: edit (4)
edit_paste_image
[edit.pasteImage] Paste Image — Paste or insert a PNG, JPEG, or TIFF raster image onto a graph annotation or multi-panel layout.
Input schema:
{
"additionalProperties": false,
"properties": {
"asset_id": {
"description": "Existing content-addressed image `asset_id` already stored in the project",
"minLength": 1,
"type": [
"string",
"null"
]
},
"badge_override": {
"description": "Optional badge label when pasting onto a LayoutSheet",
"type": [
"string",
"null"
]
},
"border": {
"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": {
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"bytes_base64": {
"description": "Base64-encoded PNG, JPEG, or TIFF image payload",
"minLength": 1,
"type": [
"string",
"null"
]
},
"crop": {
"additionalProperties": false,
"properties": {
"bottom_pt": {
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"left_pt": {
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"right_pt": {
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"top_pt": {
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"lock_aspect_ratio": {
"description": "Preserve intrinsic image aspect ratio when resizing one dimension (default `true`)",
"type": [
"boolean",
"null"
]
},
"panel_id": {
"description": "Optional panel identifier when pasting onto a LayoutSheet",
"type": [
"string",
"null"
]
},
"path": {
"description": "Regular local file path to a PNG, JPEG, or TIFF image (URLs rejected)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"rotation_deg": {
"description": "Clockwise rotation in degrees around the center of `bounds_pt`",
"maximum": 3600.0,
"minimum": -3600.0,
"type": [
"number",
"null"
]
},
"target_sheet_id": {
"description": "Target GraphSheet or LayoutSheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"target_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"target_sheet_id":"<target_sheet_id>"},"name":"edit_paste_image"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
edit_paste_result_table
[edit.pasteResultTable] Paste Result Table — Paste a live result or data table onto a graph annotation or multi-panel layout.
Input schema:
{
"additionalProperties": false,
"properties": {
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"panel_id": {
"description": "Optional panel identifier when pasting onto a LayoutSheet",
"type": [
"string",
"null"
]
},
"selected_cols": {
"description": "Optional zero-based indices to include",
"items": {
"description": "Index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"selected_rows": {
"description": "Optional zero-based indices to include",
"items": {
"description": "Index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"source_sheet_id": {
"description": "Source ResultSheet (or DataSheet for Layout target) ID",
"minLength": 1,
"type": "string"
},
"style": {
"description": "Optional EmbeddedTableStyle overrides",
"type": [
"object",
"null"
]
},
"tab_id": {
"description": "Optional ResultTab ID or title (defaults to first tab)",
"type": [
"string",
"null"
]
},
"target_sheet_id": {
"description": "Target GraphSheet or LayoutSheet ID",
"minLength": 1,
"type": "string"
},
"transpose": {
"description": "Transpose rows and columns when rendering the pasted table",
"type": [
"boolean",
"null"
]
}
},
"required": [
"source_sheet_id",
"target_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"source_sheet_id":"<source_sheet_id>","target_sheet_id":"<target_sheet_id>"},"name":"edit_paste_result_table"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
edit_redo
[edit.redo] Redo — Redo the most recently undone document edit.
Input schema:
{
"additionalProperties": false,
"properties": {},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"edit_redo"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
edit_undo
[edit.undo] Undo — Undo the most recent document-mutating command.
Input schema:
{
"additionalProperties": false,
"properties": {},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"edit_undo"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: sheet (11)
sheet_clone_pipeline
[sheet.clonePipeline] Clone Pipeline — Clone a table structure and downstream analysis/graph/layout pipeline for a new experimental run.
Input schema:
{
"additionalProperties": false,
"properties": {
"clear_column_titles": {
"description": "Clear dataset column titles (defaults to false)",
"type": [
"boolean",
"null"
]
},
"clear_data": {
"description": "Convenience flag overriding keep_x_values / clear_y_values",
"type": [
"boolean",
"null"
]
},
"clear_results": {
"description": "Skip immediate recalculation and leave cloned ResultSheets stale",
"type": [
"boolean",
"null"
]
},
"clear_row_titles": {
"description": "Clear row titles (defaults to false)",
"type": [
"boolean",
"null"
]
},
"clear_y_values": {
"description": "Clear Y values when cloning pipeline (defaults to true)",
"type": [
"boolean",
"null"
]
},
"clone_analyses": {
"description": "Clone downstream ResultSheets (defaults to true)",
"type": [
"boolean",
"null"
]
},
"clone_graphs": {
"description": "Clone downstream GraphSheets (defaults to true)",
"type": [
"boolean",
"null"
]
},
"clone_layouts": {
"description": "Clone downstream LayoutSheets (defaults to true)",
"type": [
"boolean",
"null"
]
},
"keep_x_values": {
"description": "Preserve X values when cloning (defaults to true)",
"type": [
"boolean",
"null"
]
},
"new_sheet_id": {
"description": "Optional explicit ID for the cloned DataSheet",
"minLength": 1,
"type": [
"string",
"null"
]
},
"override_replicates": {
"description": "Optional new replicate subcolumn count",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"prefix": {
"description": "Optional ID prefix for cloned sheets",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Source root DataSheet (or family member) ID to clone",
"minLength": 1,
"type": "string"
},
"title": {
"description": "Optional title for cloned DataSheet",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"sheet_clone_pipeline"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_create_data
[sheet.createData] New Data Table — Create a typed data table sheet and optional paired info/graph sheets.
Input schema:
{
"additionalProperties": false,
"properties": {
"auto_family": {
"description": "Auto-create both linked InfoSheet and uninitialized GraphSheet",
"type": [
"boolean",
"null"
]
},
"auto_graph": {
"description": "Auto-create uninitialized GraphSheet for this table",
"type": [
"boolean",
"null"
]
},
"auto_info": {
"description": "Auto-create or attach paired InfoSheet",
"type": [
"boolean",
"null"
]
},
"censored_code": {
"description": "Numeric status code denoting Censored rows on Survival tables",
"type": [
"integer",
"null"
]
},
"cols": {
"description": "Initial column / data-set count",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"column_factor_title": {
"description": "Column factor title for Grouped/Contingency tables",
"type": [
"string",
"null"
]
},
"design_hint": {
"anyOf": [
{
"description": "Column table design hint (`unpaired`, `paired`, `precomputed`)"
},
{
"type": "null"
}
]
},
"event_code": {
"description": "Numeric status code denoting Event rows on Survival tables",
"type": [
"integer",
"null"
]
},
"graph_sheet_id": {
"description": "Optional explicit GraphSheet ID to create",
"minLength": 1,
"type": [
"string",
"null"
]
},
"info_sheet_id": {
"description": "Optional explicit InfoSheet ID to link or create",
"minLength": 1,
"type": [
"string",
"null"
]
},
"kind": {
"description": "Table archetype (`xy`, `column`, `grouped`, `contingency`, `survival`, `parts_of_whole`, `multiple_variables`, `nested`)",
"type": [
"string",
"null"
]
},
"replicates": {
"description": "Raw replicate subcolumns (or biological units for nested)",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"row_factor_title": {
"description": "Row factor title for Grouped/Contingency tables",
"type": [
"string",
"null"
]
},
"rows": {
"description": "Initial row count",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"sheet_id": {
"description": "Optional explicit DataSheet ID (auto-generated if omitted)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"subcolumn_mode": {
"anyOf": [
{
"description": "Replicate subcolumn mode string or structured SubcolumnMode object"
},
{
"type": "null"
}
]
},
"time_title": {
"description": "Elapsed time title for Survival tables",
"type": [
"string",
"null"
]
},
"title": {
"description": "Optional human-readable table title",
"type": [
"string",
"null"
]
},
"variables": {
"description": "Variable definitions for MultipleVariables tables",
"items": {
"description": "Variable name or {title, role}"
},
"type": [
"array",
"null"
]
},
"x_mode": {
"anyOf": [
{
"description": "Optional X-column mode string or structured XColumnMode object"
},
{
"type": "null"
}
]
},
"x_title": {
"description": "Optional X-axis column title for XY tables",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object",
"x-deprecated-aliases": {
"kind": [
"archetype"
]
}
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"sheet_create_data"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_delete
[sheet.delete] Delete Sheet — Delete a sheet and optionally cascade to its dependent family.
Input schema:
{
"additionalProperties": false,
"properties": {
"cascade": {
"description": "Delete downstream dependents (true) or refuse when dependents exist (false)",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "ID of the sheet to delete",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"sheet_delete"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_duplicate
[sheet.duplicate] Duplicate Sheet — Duplicate a single sheet within its section.
Input schema:
{
"additionalProperties": false,
"properties": {
"frozen": {
"description": "Preserve or set frozen flag on duplicated DataSheet (defaults to false)",
"type": [
"boolean",
"null"
]
},
"new_sheet_id": {
"description": "Optional explicit ID for the duplicated sheet",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Source sheet ID to duplicate",
"minLength": 1,
"type": "string"
},
"title": {
"description": "Optional title override for the duplicate",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"sheet_duplicate"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_duplicate_family
[sheet.duplicateFamily] Duplicate Family — Duplicate a data sheet together with its paired info, analyses, graphs, and layouts.
Input schema:
{
"additionalProperties": false,
"properties": {
"clear_data": {
"description": "Clear Y data and reset results when true (defaults to false)",
"type": [
"boolean",
"null"
]
},
"new_sheet_id": {
"description": "Optional explicit ID for duplicated DataSheet",
"minLength": 1,
"type": [
"string",
"null"
]
},
"prefix": {
"description": "ID prefix for duplicated sheets",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Root sheet ID whose family should be duplicated",
"minLength": 1,
"type": "string"
},
"title": {
"description": "Optional title override for duplicated DataSheet",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"sheet_duplicate_family"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_extract_result_tab
[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).
Input schema:
{
"additionalProperties": false,
"properties": {
"archetype": {
"description": "Target table archetype: auto (default), column, multiple_variables, or grouped",
"enum": [
"auto",
"column",
"multiple_variables",
"grouped"
],
"type": [
"string",
"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": {
"description": "Optional destination DataSheet ID (auto-generated when omitted)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"tab_id": {
"description": "ResultTab ID or exact title (defaults to first tab)",
"type": [
"string",
"null"
]
},
"title": {
"description": "Optional title for the extracted linked DataSheet",
"type": [
"string",
"null"
]
}
},
"required": [
"result_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"result_sheet_id":"<result_sheet_id>"},"name":"sheet_extract_result_tab"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_freeze
[sheet.freeze] Freeze Sheet — Lock a DataSheet against accidental cell, link, or structural edits.
Input schema:
{
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "DataSheet ID to freeze against edits",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"sheet_freeze"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_rename
[sheet.rename] Rename Sheet — Rename any sheet in Data, Info, Results, Graphs, or Layouts.
Input 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"
]
}
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>","title":"<title>"},"name":"sheet_rename"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_reorder
[sheet.reorder] Reorder Sheet — Reorder sheets within a project navigator folder.
Input schema:
{
"additionalProperties": false,
"properties": {
"folder": {
"description": "Sheet folder (`data`, `info`, `results`, `graphs`, `layouts`)",
"type": [
"string",
"null"
]
},
"from_index": {
"description": "Source zero-based index for index swap/move",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"index": {
"description": "Target zero-based index when reordering by `sheet_id`",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"order": {
"description": "Complete ordered list of sheet IDs for `section`",
"items": {
"description": "Sheet ID",
"minLength": 1,
"type": "string"
},
"type": [
"array",
"null"
]
},
"section": {
"description": "Navigator section name (`data`, `info`, `results`, `analyses`, `graphs`, `layouts`)",
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Target sheet ID to move to `index`",
"minLength": 1,
"type": [
"string",
"null"
]
},
"to_index": {
"description": "Destination zero-based index",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"sheet_reorder"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_select
[sheet.select] Select Sheet — Select the active sheet in the navigator or family pane.
Input schema:
{
"additionalProperties": false,
"properties": {
"mode": {
"description": "Selection pane (`navigator` or `family`, defaults to `navigator`)",
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Sheet ID to select",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"sheet_select"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
sheet_unfreeze
[sheet.unfreeze] Unfreeze Sheet — Unlock a frozen DataSheet and recalculate linked dependents.
Input schema:
{
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "DataSheet ID to unfreeze and recalculate",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"sheet_unfreeze"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: table (29)
table_clear_cells
[table.clearCells] Clear Cells — Clear single cells, lists, ranges, or an entire table, optionally breaking live links.
Input schema:
{
"additionalProperties": false,
"properties": {
"all": {
"description": "Clear all data cells across the sheet",
"type": "boolean"
},
"cells": {
"description": "List of cell coordinates to clear",
"items": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"end": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_clear_cells"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_convert_archetype
[table.convertArchetype] Convert Table Archetype — Preview or convert a data table between Column, Grouped, XY, and MultipleVariables archetypes.
Input 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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>","target_kind":"Column"},"name":"table_convert_archetype"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_exclude_cells
[table.excludeCells] Exclude Cells — Toggle the exclusion mask on single cells, cell lists, or ranges (including X/time cells).
Input schema:
{
"additionalProperties": false,
"properties": {
"cells": {
"description": "List of cell coordinates",
"items": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"end": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_exclude_cells"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_exclude_cells_with_reason
[table.excludeCellsWithReason] Exclude Cells With Reason — Exclude cells and attach a structured audit reason tag, note, and UTC timestamp.
Input schema:
{
"additionalProperties": false,
"properties": {
"col": {
"description": "Single cell column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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"
},
{
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"description": "Optional explanatory audit note",
"type": [
"string",
"null"
]
},
"range": {
"additionalProperties": false,
"properties": {
"end": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"description": "Optional explicit UTC timestamp string",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id",
"reason_tag"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"reason_tag":"<reason_tag>","sheet_id":"<sheet_id>"},"name":"table_exclude_cells_with_reason"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_exclusion_audit_report
[table.exclusionAuditReport] Exclusion Audit Report — Generate a read-only audit report of excluded cells and their reason annotations.
Input schema:
{
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "Optional sheet ID to filter report",
"minLength": 1,
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"table_exclusion_audit_report"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_export_csv
[table.exportCsv] Export Table CSV / TSV — Export a data or result sheet to CSV/TSV text and optionally write atomically to disk.
Input schema:
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"null"
]
},
"delimiter": {
"description": "Delimiter character (`,`, `\\t`/`tab`, `;`, or 1 char)",
"type": [
"string",
"null"
]
},
"path": {
"description": "Optional output file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Data or Result sheet identifier to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_export_csv"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_import_csv
[table.importCsv] Import CSV / TSV — Import CSV or TSV data from a file path or inline text into a new or existing data table.
Input schema:
{
"additionalProperties": false,
"properties": {
"anchor": {
"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": {
"description": "Target archetype (XY, Column, Grouped, Contingency, Survival, PartsOfWhole, MultipleVariables, Nested)",
"type": [
"string",
"null"
]
},
"csv": {
"description": "Inline CSV/TSV content",
"type": [
"string",
"null"
]
},
"decimal_separator": {
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": [
"string",
"null"
]
},
"delimiter": {
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": [
"string",
"null"
]
},
"filter": {
"additionalProperties": false,
"properties": {
"baseline": {
"anyOf": [
{
"description": "Optional ImportFilterSpec baseline tuple `[col, operation]`"
},
{
"type": "null"
}
]
},
"col_end": {
"description": "Last zero-based source column to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"col_start": {
"description": "First zero-based source column to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"col_window": {
"description": "Inclusive zero-based [start_col, end_col] slice",
"items": {
"description": "Column index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
},
"decimate_every_k": {
"description": "Keep every k-th source row (>= 1)",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"exclude_row_predicate": {
"description": "Optional row-level exclusion predicate formula",
"type": [
"string",
"null"
]
},
"parse_asterisk_exclusions": {
"description": "Interpret `*` suffix tokens as excluded cells",
"type": [
"boolean",
"null"
]
},
"row_end": {
"description": "Last zero-based source row to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"row_start": {
"description": "First zero-based source row to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"row_window": {
"description": "Inclusive zero-based [start_row, end_row] slice",
"items": {
"description": "Row index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
},
"unstack_group_column": {
"description": "Optional grouping column index for unstacking",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [],
"type": [
"object",
"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": {
"description": "Filesystem path to CSV/TSV file",
"minLength": 1,
"type": [
"string",
"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": {
"description": "Optional target sheet ID (auto-generated if omitted)",
"minLength": 1,
"type": [
"string",
"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": {
"description": "Title for imported sheet",
"type": [
"string",
"null"
]
},
"transpose": {
"description": "Transpose imported table",
"type": "boolean"
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"table_import_csv"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_import_plate_map
[table.importPlateMap] Import Plate Map — Map 96-well or 384-well microplate readings and well roles into a structured data sheet.
Input 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": {
"description": "Array of per-well role definitions",
"items": {
"description": "PlateWellRole"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"subtract_blank_mean": {
"description": "Subtract mean of Blank wells from Treatment readings",
"type": "boolean"
},
"target_kind": {
"description": "Target archetype (Grouped, XY, Column, MultipleVariables)",
"type": [
"string",
"null"
]
},
"template": {
"anyOf": [
{
"description": "PlateMapTemplate object or `.cbtemplate` JSON string"
},
{
"type": "null"
}
]
},
"template_name": {
"description": "Template name when building from `roles`",
"type": [
"string",
"null"
]
},
"title": {
"description": "Imported sheet title (default `Plate Data`)",
"type": [
"string",
"null"
]
},
"values": {
"anyOf": [
{
"description": "1D array of well readings",
"items": {
"description": "Well reading",
"type": [
"number",
"null"
]
},
"type": "array"
},
{
"description": "2D plate row/col readings",
"items": {
"description": "Row of well readings",
"items": {
"description": "Well reading",
"type": [
"number",
"null"
]
},
"type": "array"
},
"type": "array"
}
],
"description": "Flat (96/384) or 2D (8x12 / 16x24) plate readings array of finite numbers or nulls"
},
"x_title": {
"description": "X/concentration axis title (default `Concentration`)",
"type": [
"string",
"null"
]
}
},
"required": [
"values"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"values":"<values>"},"name":"table_import_plate_map"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_import_prism
[table.importPrism] Import External Archive — Import an external ZIP-based project archive from disk, base64, or raw byte array.
Input 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": {
"description": "Base64-encoded external archive bytes",
"minLength": 1,
"type": [
"string",
"null"
]
},
"merge": {
"description": "Merge imported sheets into existing document instead of replacing (default false)",
"type": "boolean"
},
"path": {
"description": "Filesystem path to external archive",
"minLength": 1,
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"table_import_prism"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_import_pzfx
[table.importPzfx] Import XML Project — Import an XML project document from disk, inline XML string, or base64 payload.
Input schema:
{
"additionalProperties": false,
"properties": {
"bytes_base64": {
"description": "Base64-encoded XML project bytes",
"minLength": 1,
"type": [
"string",
"null"
]
},
"merge": {
"description": "Merge imported sheets into existing document instead of replacing (default false)",
"type": "boolean"
},
"path": {
"description": "Filesystem path to XML project file",
"minLength": 1,
"type": [
"string",
"null"
]
},
"xml": {
"description": "Inline XML project string",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"table_import_pzfx"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_import_tidy_long
[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.
Input schema:
{
"additionalProperties": false,
"properties": {
"csv": {
"description": "Inline delimited tidy table text",
"type": [
"string",
"null"
]
},
"decimal_sep": {
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": [
"string",
"null"
]
},
"delimiter": {
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": [
"string",
"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": {
"description": "Column header names when using `rows`",
"items": {
"description": "Header name",
"type": "string"
},
"type": [
"array",
"null"
]
},
"mapping": {
"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",
"null"
]
},
"normalize_decimal": {
"description": "Infer European decimal separator when ambiguous",
"type": "boolean"
},
"path": {
"description": "Filesystem path to delimited tidy file",
"minLength": 1,
"type": [
"string",
"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": {
"description": "2D tidy record rows",
"items": {
"description": "Record row",
"items": {
"description": "Scalar cell"
},
"type": "array"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"target_kind": {
"description": "Target archetype (Grouped, Column, XY, MultipleVariables)",
"type": [
"string",
"null"
]
},
"title": {
"description": "Imported sheet title (default `Tidy Import`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"table_import_tidy_long"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_import_xlsx
[table.importXlsx] Import XLSX Workbook — Import one or more worksheets (or list available sheets) from an .xlsx workbook file, base64, or byte array.
Input schema:
{
"additionalProperties": false,
"properties": {
"archetype": {
"description": "Optional target archetype (XY, Column, Grouped, Contingency, Survival, PartsOfWhole, MultipleVariables, Nested); inferred per sheet when omitted",
"type": [
"string",
"null"
]
},
"bytes": {
"description": "Raw byte array of `.xlsx` workbook",
"items": {
"description": "Byte value 0..=255",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"bytes_base64": {
"description": "Base64-encoded `.xlsx` workbook bytes",
"minLength": 1,
"type": [
"string",
"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": {
"description": "Filesystem path to `.xlsx` workbook",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_indices": {
"description": "Zero-based worksheet indices to import",
"items": {
"description": "Sheet index >= 0",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheets": {
"description": "Worksheet tab names to import (imports all visible sheets if omitted)",
"items": {
"description": "Worksheet name",
"type": "string"
},
"type": [
"array",
"null"
]
},
"subcolumn_mode": {
"anyOf": [
{
"description": "Subcolumn mode name or object"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"table_import_xlsx"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_paste
[table.paste] Paste Special — Paste delimited clipboard text or a 2D cell grid into a table with placement, transpose, and filter options.
Input schema:
{
"additionalProperties": false,
"properties": {
"anchor": {
"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": {
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": [
"string",
"null"
]
},
"delimiter": {
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": [
"string",
"null"
]
},
"filter": {
"additionalProperties": false,
"properties": {
"baseline": {
"anyOf": [
{
"description": "Optional ImportFilterSpec baseline tuple `[col, operation]`"
},
{
"type": "null"
}
]
},
"col_end": {
"description": "Last zero-based source column to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"col_start": {
"description": "First zero-based source column to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"col_window": {
"description": "Inclusive zero-based [start_col, end_col] slice",
"items": {
"description": "Column index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
},
"decimate_every_k": {
"description": "Keep every k-th source row (>= 1)",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"exclude_row_predicate": {
"description": "Optional row-level exclusion predicate formula",
"type": [
"string",
"null"
]
},
"parse_asterisk_exclusions": {
"description": "Interpret `*` suffix tokens as excluded cells",
"type": [
"boolean",
"null"
]
},
"row_end": {
"description": "Last zero-based source row to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"row_start": {
"description": "First zero-based source row to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"row_window": {
"description": "Inclusive zero-based [start_row, end_row] slice",
"items": {
"description": "Row index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
},
"unstack_group_column": {
"description": "Optional grouping column index for unstacking",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [],
"type": [
"object",
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_paste"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_paste_link
[table.pasteLink] Paste Link — Attach a live linked region from an internal sheet or external delimited file and sync immediately.
Input schema:
{
"additionalProperties": false,
"properties": {
"anchor": {
"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": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based reference baseline column index (default 0)",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"op": {
"description": "Baseline operation: difference, ratio, percent_change, or fractional_change",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"decimal_separator": {
"description": "Decimal separator (`.`, `,`, `dot`, `comma`, `period`, or `auto`)",
"type": [
"string",
"null"
]
},
"delimiter": {
"description": "Column delimiter (`auto`, `,`, `\\t`/`tab`, `;`, or single character)",
"type": [
"string",
"null"
]
},
"exclude_row_predicate": {
"description": "Optional predicate excluding matching linked rows",
"type": [
"string",
"null"
]
},
"filter": {
"additionalProperties": false,
"properties": {
"baseline": {
"anyOf": [
{
"description": "Optional ImportFilterSpec baseline tuple `[col, operation]`"
},
{
"type": "null"
}
]
},
"col_end": {
"description": "Last zero-based source column to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"col_start": {
"description": "First zero-based source column to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"col_window": {
"description": "Inclusive zero-based [start_col, end_col] slice",
"items": {
"description": "Column index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
},
"decimate_every_k": {
"description": "Keep every k-th source row (>= 1)",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"exclude_row_predicate": {
"description": "Optional row-level exclusion predicate formula",
"type": [
"string",
"null"
]
},
"parse_asterisk_exclusions": {
"description": "Interpret `*` suffix tokens as excluded cells",
"type": [
"boolean",
"null"
]
},
"row_end": {
"description": "Last zero-based source row to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"row_start": {
"description": "First zero-based source row to include",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"row_window": {
"description": "Inclusive zero-based [start_row, end_row] slice",
"items": {
"description": "Row index",
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
},
"unstack_group_column": {
"description": "Optional grouping column index for unstacking",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"link_id": {
"description": "Custom link identifier",
"type": [
"string",
"null"
]
},
"link_spec": {
"description": "Direct ImportLinkSpec payload",
"type": [
"object",
"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": {
"description": "Custom provenance note recorded in linked InfoSheet",
"type": [
"string",
"null"
]
},
"skip_contiguous_blanks": {
"description": "Skip contiguous blanks",
"type": "boolean"
},
"source_kind": {
"description": "Explicit source kind: data, result, analyzable_result, terminal_result",
"type": [
"string",
"null"
]
},
"source_path": {
"description": "External delimited file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_range": {
"additionalProperties": false,
"properties": {
"end": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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",
"null"
]
},
"source_sheet_id": {
"description": "Internal source Data or Result sheet ID",
"minLength": 1,
"type": [
"string",
"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": {
"description": "Result sheet tab ID or title",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"target_sheet_id":"<target_sheet_id>"},"name":"table_paste_link"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_random_sample_rows
[table.randomSampleRows] Random Sample Rows — Draw a reproducible Fisher-Yates random sample of rows (optional stratification) into a new data sheet.
Input schema:
{
"additionalProperties": false,
"properties": {
"info_sheet_id": {
"description": "Optional InfoSheet ID for recording sampling provenance constants",
"minLength": 1,
"type": [
"string",
"null"
]
},
"proportional_allocation": {
"description": "Use proportional stratum allocation when stratified (default true)",
"type": [
"boolean",
"null"
]
},
"sample_size": {
"description": "Number of rows to draw without replacement",
"minimum": 1,
"type": "integer"
},
"seed": {
"description": "Deterministic 64-bit PRNG seed (default 42)",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"sheet_id": {
"description": "Optional destination DataSheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_sheet_id": {
"description": "Source DataSheet or analyzable ResultSheet ID",
"minLength": 1,
"type": "string"
},
"stratify_column": {
"description": "Optional zero-based stratification column index",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"title": {
"description": "Optional destination sheet title",
"type": [
"string",
"null"
]
}
},
"required": [
"source_sheet_id",
"sample_size"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sample_size":1,"source_sheet_id":"<source_sheet_id>"},"name":"table_random_sample_rows"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_randomize_groups
[table.randomizeGroups] Randomize Subjects to Groups — Deterministically allocate subjects across treatment groups (complete-balanced or permuted-block) and upsert ARRIVE constants on an InfoSheet.
Input schema:
{
"additionalProperties": false,
"properties": {
"block_sizes": {
"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",
"null"
]
},
"groups": {
"description": "Treatment arm names or `{label, weight}` allocation objects",
"items": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"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": {
"description": "Optional target InfoSheet ID for ARRIVE randomization constants",
"minLength": 1,
"type": [
"string",
"null"
]
},
"scheme": {
"description": "Allocation scheme (`complete_balanced` or `permuted_block`, default `complete_balanced`)",
"enum": [
"complete_balanced",
"permuted_block"
],
"type": [
"string",
"null"
]
},
"seed": {
"description": "Deterministic 64-bit PRNG seed (default 1)",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"sheet_id": {
"description": "Optional destination DataSheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"subject_count": {
"description": "Number of subjects (auto-numbered 1..=N when `subject_ids` is omitted)",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"subject_ids": {
"description": "Explicit subject ID list",
"items": {
"description": "Subject ID",
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": [
"array",
"null"
]
},
"title": {
"description": "Optional destination sheet title (default `Randomization Schedule`)",
"type": [
"string",
"null"
]
}
},
"required": [
"groups"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"groups":[]},"name":"table_randomize_groups"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_recode_levels
[table.recodeLevels] Recode Categorical Levels — Map and rewrite categorical values in a MultipleVariables column.
Input 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": {
"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": {
"description": "Fallback variable column title",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id",
"mappings"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"mappings":"<mappings>","sheet_id":"<sheet_id>"},"name":"table_recode_levels"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_calculated_variable
[table.setCalculatedVariable] Add / Update Calculated Variable — Create or update a formula-driven variable column in a MultipleVariables table and evaluate it.
Input 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": {
"description": "Variable column title (creates a new column if not found and `col` is omitted)",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id",
"formula"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"formula":"<formula>","sheet_id":"<sheet_id>"},"name":"table_set_calculated_variable"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_categorical_order
[table.setCategoricalOrder] Set Categorical Order — Configure display/reference ordering of categorical levels in a MultipleVariables column.
Input 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": {
"description": "Serialized LevelOrderSpec",
"type": [
"object",
"null"
]
},
"reference_level": {
"description": "Optional reference category label",
"type": [
"string",
"null"
]
},
"reversed": {
"description": "Reverse resulting level ordering",
"type": "boolean"
},
"sheet_id": {
"description": "Target MultipleVariables sheet identifier",
"minLength": 1,
"type": "string"
},
"title": {
"description": "Fallback variable column title",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_categorical_order"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_cell
[table.setCell] Set Cell Value — Set or update a single data cell value and optional exclusion flag, then recalculate downstream sheets.
Input schema:
{
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based column/dataset index",
"minimum": 0,
"type": "integer"
},
"coord": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_cell"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_cells
[table.setCells] Set Multiple Cells — Apply a batch of cell edits or a 2D row/column block to a data table, then recalculate.
Input schema:
{
"additionalProperties": false,
"properties": {
"edits": {
"description": "List of explicit cell edits",
"items": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"additionalProperties": false,
"properties": {
"col": {
"description": "Zero-based dataset/column index",
"minimum": 0,
"type": "integer"
},
"coord": {
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_cells"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_group_titles
[table.setGroupTitles] Set Group Column Titles — Set group/dataset titles, X/time title, factor titles, or row titles on a data table.
Input schema:
{
"additionalProperties": false,
"properties": {
"col": {
"description": "Column index for single `title` update",
"minimum": 0,
"type": "integer"
},
"column_factor_title": {
"description": "Column factor title (Grouped/Contingency)",
"type": [
"string",
"null"
]
},
"row_factor_title": {
"description": "Row factor title (Grouped/Contingency)",
"type": [
"string",
"null"
]
},
"row_titles": {
"description": "Batch of row titles starting at row 0",
"items": {
"description": "Row title",
"type": [
"string",
"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": {
"description": "Single dataset/column title",
"type": [
"string",
"null"
]
},
"titles": {
"description": "Batch of dataset/column/group titles",
"items": {
"description": "Column title",
"type": "string"
},
"type": "array"
},
"x_title": {
"description": "X or Survival time axis title",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_group_titles"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_row_titles
[table.setRowTitles] Set Row Titles — Set or clear one or more row titles (or PartsOfWhole slice labels) in a data table.
Input 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": {
"description": "Single row title (omit or null to clear)",
"type": [
"string",
"null"
]
},
"titles": {
"description": "Batch of row titles (null clears a title)",
"items": {
"description": "Row title",
"type": [
"string",
"null"
]
},
"type": "array"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_row_titles"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_subcolumn_titles
[table.setSubcolumnTitles] Set Subcolumn Titles — Set explicit subcolumn titles on a Nested data table across one or all groups.
Input schema:
{
"additionalProperties": false,
"properties": {
"col": {
"description": "Optional group index (omit to update all groups)",
"minimum": 0,
"type": [
"integer",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_subcolumn_titles"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_titles
[table.setTitles] Set Column Titles — Set dataset column titles, X/time title, factor titles, or row titles on a data table.
Input schema:
{
"additionalProperties": false,
"properties": {
"col": {
"description": "Column index for single `title` update",
"minimum": 0,
"type": "integer"
},
"column_factor_title": {
"description": "Column factor title (Grouped/Contingency)",
"type": [
"string",
"null"
]
},
"row_factor_title": {
"description": "Row factor title (Grouped/Contingency)",
"type": [
"string",
"null"
]
},
"row_titles": {
"description": "Batch of row titles starting at row 0",
"items": {
"description": "Row title",
"type": [
"string",
"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": {
"description": "Single dataset/column title",
"type": [
"string",
"null"
]
},
"titles": {
"description": "Batch of dataset/column/group titles",
"items": {
"description": "Column title",
"type": "string"
},
"type": "array"
},
"x_title": {
"description": "X or Survival time axis title",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_titles"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_variable_role
[table.setVariableRole] Set Variable Role — Lock or re-infer the analytical role of a column in a MultipleVariables table.
Input 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": {
"description": "Fallback variable column title",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id",
"role"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"role":"<role>","sheet_id":"<sheet_id>"},"name":"table_set_variable_role"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_set_x_cells
[table.setXCells] Set X / Time Column — Set one or more X or elapsed-time column cells on an XY or Survival table.
Input schema:
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"null"
]
},
"edits": {
"description": "List of X/time cell edits",
"items": {
"additionalProperties": false,
"properties": {
"decimal_separator": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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": {
"description": "Explicit decimal separator (`.`, `,`, `dot`, `comma`, or `period`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"table_set_x_cells"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_simulate_distributions
[table.simulateDistributions] Simulate Distributions — Generate a Column or MultipleVariables table with columns sampled from Uniform, Gaussian, LogNormal, Binomial, Poisson, or Exponential distributions.
Input 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": {
"description": "Deterministic 64-bit PRNG seed (default 1)",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"sheet_id": {
"description": "Optional destination DataSheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"title": {
"description": "Optional destination sheet title (default `Simulated Distributions`)",
"type": [
"string",
"null"
]
},
"use_multiple_variables": {
"description": "Create MultipleVariables table instead of Column table (default false)",
"type": [
"boolean",
"null"
]
}
},
"required": [
"columns",
"n_rows"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"columns":[],"n_rows":1},"name":"table_simulate_distributions"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
table_simulate_xy
[table.simulateXy] Simulate XY Data — Generate a synthetic XY data sheet from a built-in equation, parameter map, and noise model.
Input 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": {
"description": "Optional GraphSheet ID to create for new simulated table",
"minLength": 1,
"type": [
"string",
"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": {
"description": "Optional destination data sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"title": {
"description": "Simulated sheet title (default `Simulated XY`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"table_simulate_xy"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: info (3)
info_remove_constant
[info.removeConstant] Remove Info Constant — Remove a named constant from an InfoSheet and recalculate dependents.
Input schema:
{
"additionalProperties": false,
"properties": {
"if_exists": {
"description": "Allow removing a non-existent constant without failing (default: false)",
"type": [
"boolean",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"name":"<name>","sheet_id":"<sheet_id>"},"name":"info_remove_constant"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
info_set_constant
[info.setConstant] Set Info Constant — Create or update a named InfoSheet constant and recalculate dependents.
Input schema:
{
"additionalProperties": false,
"properties": {
"kind": {
"description": "Optional value kind hint (`number`, `text`, or `date`)",
"type": [
"string",
"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": {
"description": "Optional physical unit label",
"type": [
"string",
"null"
]
},
"value": {
"description": "Constant value (finite number, string, or null to clear)"
}
},
"required": [
"sheet_id",
"name",
"value"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"name":"<name>","sheet_id":"<sheet_id>","value":"<value>"},"name":"info_set_constant"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
info_set_note
[info.setNote] Set Info Note — Set or append markdown notes on an InfoSheet.
Input schema:
{
"additionalProperties": false,
"properties": {
"append": {
"description": "When true, append to existing notes instead of overwriting",
"type": [
"boolean",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>","text":"<text>"},"name":"info_set_note"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: analysis (12)
analysis_add
[analysis.add] Add Analysis — Attach and compute a new analysis of any domain (transform, stats, or regression) for a data sheet.
Input schema:
{
"additionalProperties": true,
"properties": {
"comparison": {
"anyOf": [
{
"description": "Nested/non-nested model comparison specification"
},
{
"type": "null"
}
]
},
"confidence_percent": {
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"custom_dsl": {
"description": "Custom mathematical equation DSL string",
"type": [
"string",
"null"
]
},
"deming_error": {
"anyOf": [
{
"description": "Model II Deming error model (`EqualError`, `StandardDeviations`, or `VarianceRatio`)"
},
{
"type": "null"
}
]
},
"df_method": {
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": [
"string",
"null"
]
},
"equation_id": {
"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",
"null"
]
},
"extend_line_to_x_intercept": {
"description": "Extend fitted regression line plot range to include the X-intercept",
"type": [
"boolean",
"null"
]
},
"fixed_point": {
"anyOf": [
{
"description": "Optional fixed-point constraint [x0, y0] forcing Y - y0 = slope * (X - x0)"
},
{
"type": "null"
}
]
},
"flag_r_squared_below": {
"description": "Warn when nonlinear R squared is below this threshold",
"maximum": 1.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"identify_unstable_parameters": {
"description": "Assess nonlinear parameter identifiability",
"type": [
"boolean",
"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": {
"description": "Post-hoc multiplicity adjustment method",
"type": [
"string",
"null"
]
},
"overwrite": {
"description": "Overwrite an existing result sheet with the same ID",
"type": [
"boolean",
"null"
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"parameter_rules": {
"description": "Parameter constraints and shared-global rules",
"items": {
"type": "object"
},
"type": [
"array",
"null"
]
},
"plot_segments": {
"description": "Number of line segments in a linear fit overlay",
"maximum": 10000,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"plot_x_max": {
"description": "Override the fitted curve's ending X",
"type": [
"number",
"null"
]
},
"plot_x_min": {
"description": "Override the fitted curve's starting X",
"type": [
"number",
"null"
]
},
"repeated_measures": {
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": [
"string",
"null"
]
},
"residual_covariance": {
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": [
"string",
"null"
]
},
"selected_data_sets": {
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target result sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_sheet_id": {
"description": "Source data sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"spec": {
"description": "Full serialized AnalysisSpec payload",
"type": [
"object",
"null"
]
},
"standard_addition": {
"description": "Report standard-addition unknown concentration (-X-intercept) and negated Fieller CI",
"type": [
"boolean",
"null"
]
},
"title": {
"description": "Optional custom title override",
"type": [
"string",
"null"
]
},
"weighting": {
"description": "Regression weighting scheme (`none`, `1/y`, `1/y2`, `1/x`, `1/x2`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"analysis_add"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
analysis_export_csv
[analysis.exportCsv] Export Result Sheet CSV — Export a specific tab or tidy combined CSV representation of a result sheet and optionally save it atomically.
Input schema:
{
"additionalProperties": false,
"properties": {
"decimal_separator": {
"description": "Single-character decimal separator (default `.`)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"delimiter": {
"description": "Single-character CSV delimiter (default `,`)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"path": {
"description": "Optional output `.csv` file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Result sheet ID to export",
"minLength": 1,
"type": "string"
},
"tab_id": {
"description": "Optional specific result tab identifier",
"minLength": 1,
"type": [
"string",
"null"
]
},
"tab_index": {
"description": "Optional zero-based result tab index",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"analysis_export_csv"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
analysis_export_json
[analysis.exportJson] Export Result Sheet JSON — Serialize a result sheet (tables, scalars, parameters, checklist) to JSON and optionally save it atomically.
Input schema:
{
"additionalProperties": false,
"properties": {
"path": {
"description": "Optional output `.json` file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"pretty": {
"description": "Pretty-print JSON output (default true)",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "Result sheet ID to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"analysis_export_json"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
analysis_retarget_data
[analysis.retargetData] Change Data Analyzed — Rebind an existing analysis result sheet to a different compatible data sheet or subset of datasets.
Input schema:
{
"additionalProperties": false,
"properties": {
"clear_selected_data_sets": {
"description": "Clear dataset subset filter so all datasets are analyzed",
"type": [
"boolean",
"null"
]
},
"selected_data_sets": {
"description": "Optional subset of dataset indices",
"items": {
"description": "Dataset index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>","source_sheet_id":"<source_sheet_id>"},"name":"analysis_retarget_data"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
analysis_run
[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.
Input schema:
{
"additionalProperties": true,
"properties": {
"comparison": {
"anyOf": [
{
"description": "Nested/non-nested model comparison specification"
},
{
"type": "null"
}
]
},
"confidence_percent": {
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"custom_dsl": {
"description": "Custom mathematical equation DSL string",
"type": [
"string",
"null"
]
},
"deming_error": {
"anyOf": [
{
"description": "Model II Deming error model (`EqualError`, `StandardDeviations`, or `VarianceRatio`)"
},
{
"type": "null"
}
]
},
"df_method": {
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": [
"string",
"null"
]
},
"equation_id": {
"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",
"null"
]
},
"extend_line_to_x_intercept": {
"description": "Extend fitted regression line plot range to include the X-intercept",
"type": [
"boolean",
"null"
]
},
"fixed_point": {
"anyOf": [
{
"description": "Optional fixed-point constraint [x0, y0] forcing Y - y0 = slope * (X - x0)"
},
{
"type": "null"
}
]
},
"flag_r_squared_below": {
"description": "Warn when nonlinear R squared is below this threshold",
"maximum": 1.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"identify_unstable_parameters": {
"description": "Assess nonlinear parameter identifiability",
"type": [
"boolean",
"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": {
"description": "Post-hoc multiplicity adjustment method",
"type": [
"string",
"null"
]
},
"overwrite": {
"description": "Overwrite an existing result sheet with the same ID",
"type": [
"boolean",
"null"
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"parameter_rules": {
"description": "Parameter constraints and shared-global rules",
"items": {
"type": "object"
},
"type": [
"array",
"null"
]
},
"plot_segments": {
"description": "Number of line segments in a linear fit overlay",
"maximum": 10000,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"plot_x_max": {
"description": "Override the fitted curve's ending X",
"type": [
"number",
"null"
]
},
"plot_x_min": {
"description": "Override the fitted curve's starting X",
"type": [
"number",
"null"
]
},
"repeated_measures": {
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": [
"string",
"null"
]
},
"residual_covariance": {
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": [
"string",
"null"
]
},
"selected_data_sets": {
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target result sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_sheet_id": {
"description": "Source data sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"spec": {
"description": "Full serialized AnalysisSpec payload",
"type": [
"object",
"null"
]
},
"standard_addition": {
"description": "Report standard-addition unknown concentration (-X-intercept) and negated Fieller CI",
"type": [
"boolean",
"null"
]
},
"title": {
"description": "Optional custom title override",
"type": [
"string",
"null"
]
},
"weighting": {
"description": "Regression weighting scheme (`none`, `1/y`, `1/y2`, `1/x`, `1/x2`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"analysis_run"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
analysis_update_params
[analysis.updateParams] Change Analysis Parameters — Update analysis kind, confidence level, dataset selection, P-value formatting, or parameter rules and recalculate.
Input schema:
{
"additionalProperties": true,
"properties": {
"confidence_percent": {
"description": "Confidence percentage",
"maximum": 100.0,
"minimum": 0.0,
"type": [
"number",
"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": {
"description": "Optional field patch object merged into current analysis kind",
"type": [
"object",
"null"
]
},
"selected_data_sets": {
"description": "Subset of dataset indices",
"items": {
"description": "Dataset index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Existing result sheet ID to update",
"minLength": 1,
"type": "string"
},
"title": {
"description": "Optional custom title override",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"analysis_update_params"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
analyze_run
[analyze.run] Run Analyses — Recalculate all dirty or upstream-dependent analysis result sheets across the project DAG.
Input schema:
{
"additionalProperties": true,
"properties": {},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"analyze_run"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
fit_run
[fit.run] Run Curve Fit / Regression — Create and execute linear, Deming, built-in nonlinear, global shared-parameter, or custom DSL regression.
Input schema:
{
"additionalProperties": true,
"properties": {
"comparison": {
"anyOf": [
{
"description": "Nested/non-nested model comparison specification"
},
{
"type": "null"
}
]
},
"confidence_percent": {
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"custom_dsl": {
"description": "Custom mathematical equation DSL string",
"type": [
"string",
"null"
]
},
"deming_error": {
"anyOf": [
{
"description": "Model II Deming error model (`EqualError`, `StandardDeviations`, or `VarianceRatio`)"
},
{
"type": "null"
}
]
},
"df_method": {
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": [
"string",
"null"
]
},
"equation_id": {
"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",
"null"
]
},
"extend_line_to_x_intercept": {
"description": "Extend fitted regression line plot range to include the X-intercept",
"type": [
"boolean",
"null"
]
},
"fixed_point": {
"anyOf": [
{
"description": "Optional fixed-point constraint [x0, y0] forcing Y - y0 = slope * (X - x0)"
},
{
"type": "null"
}
]
},
"flag_r_squared_below": {
"description": "Warn when nonlinear R squared is below this threshold",
"maximum": 1.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"identify_unstable_parameters": {
"description": "Assess nonlinear parameter identifiability",
"type": [
"boolean",
"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": {
"description": "Post-hoc multiplicity adjustment method",
"type": [
"string",
"null"
]
},
"overwrite": {
"description": "Overwrite an existing result sheet with the same ID",
"type": [
"boolean",
"null"
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"parameter_rules": {
"description": "Parameter constraints and shared-global rules",
"items": {
"type": "object"
},
"type": [
"array",
"null"
]
},
"plot_segments": {
"description": "Number of line segments in a linear fit overlay",
"maximum": 10000,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"plot_x_max": {
"description": "Override the fitted curve's ending X",
"type": [
"number",
"null"
]
},
"plot_x_min": {
"description": "Override the fitted curve's starting X",
"type": [
"number",
"null"
]
},
"repeated_measures": {
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": [
"string",
"null"
]
},
"residual_covariance": {
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": [
"string",
"null"
]
},
"selected_data_sets": {
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target result sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_sheet_id": {
"description": "Source data sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"spec": {
"description": "Full serialized AnalysisSpec payload",
"type": [
"object",
"null"
]
},
"standard_addition": {
"description": "Report standard-addition unknown concentration (-X-intercept) and negated Fieller CI",
"type": [
"boolean",
"null"
]
},
"title": {
"description": "Optional custom title override",
"type": [
"string",
"null"
]
},
"weighting": {
"description": "Regression weighting scheme (`none`, `1/y`, `1/y2`, `1/x`, `1/x2`)",
"type": [
"string",
"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"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"fit_run"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
result_generate_report
[result.generateReport] Generate Methods Report — Generate a publication-ready statistical methods prose report in `plain`, `markdown`, or `latex`, optionally saving to disk.
Input schema:
{
"additionalProperties": false,
"properties": {
"format": {
"description": "Report output format (`plain`, `markdown`, or `latex`)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"path": {
"description": "Optional output file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"result_sheet_id": {
"description": "Result sheet ID to document",
"minLength": 1,
"type": "string"
}
},
"required": [
"result_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"result_sheet_id":"<result_sheet_id>"},"name":"result_generate_report"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
stats_pvalue_stack
[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.
Input schema:
{
"additionalProperties": true,
"properties": {
"column": {
"description": "Optional zero-based column index override",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"method": {
"description": "Multiplicity procedure (`bonferroni`, `holm`, `sidak`, `holm_sidak`, `benjamini_hochberg`, `two_stage_bky`, `benjamini_yekutieli`)",
"type": [
"string",
"null"
]
},
"overwrite": {
"description": "Overwrite an existing result sheet with the same ID",
"type": [
"boolean",
"null"
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"description": "Subset of zero-based column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target result sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_sheet_id": {
"description": "Source data sheet ID containing raw P-value column(s)",
"minLength": 1,
"type": "string"
},
"threshold": {
"description": "Significance alpha (FWER) or desired FDR Q strictly in (0, 1)",
"maximum": 1.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"title": {
"description": "Optional custom title override",
"type": [
"string",
"null"
]
}
},
"required": [
"source_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"source_sheet_id":"<source_sheet_id>"},"name":"stats_pvalue_stack"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
stats_run
[stats.run] Run Statistical Test — Create and execute a hypothesis test, ANOVA, contingency, survival, ROC, GLM, or multivariate analysis.
Input schema:
{
"additionalProperties": true,
"properties": {
"confidence_percent": {
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"df_method": {
"description": "REML denominator degrees-of-freedom method (`kenward_roger`, `satterthwaite`)",
"type": [
"string",
"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": {
"description": "Post-hoc multiplicity adjustment method",
"type": [
"string",
"null"
]
},
"overwrite": {
"description": "Overwrite an existing result sheet with the same ID",
"type": [
"boolean",
"null"
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"repeated_measures": {
"description": "Repeated-measures matching for factorial ANOVA (`none`, `row`, `column`, `both`)",
"type": [
"string",
"null"
]
},
"residual_covariance": {
"description": "REML residual covariance structure for repeated-measures ANOVA (`compound_symmetry`, `unstructured`)",
"type": [
"string",
"null"
]
},
"selected_data_sets": {
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target result sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_sheet_id": {
"description": "Source data sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"spec": {
"description": "Full serialized AnalysisSpec payload",
"type": [
"object",
"null"
]
},
"title": {
"description": "Optional custom title override",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"stats_run"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
transform_run
[transform.run] Run Transformation — Create and execute a mathematical, normalization, baseline, transpose, prune, select, or simulation transformation sheet.
Input schema:
{
"additionalProperties": true,
"properties": {
"confidence_percent": {
"description": "Confidence percentage in (0, 100)",
"maximum": 100.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"create_graph": {
"description": "When true, create a reactive GraphSheet bound to the transform output",
"type": [
"boolean",
"null"
]
},
"graph_sheet_id": {
"description": "Optional explicit GraphSheet ID created when `create_graph` is true",
"minLength": 1,
"type": [
"string",
"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": {
"description": "Overwrite an existing result sheet with the same ID",
"type": [
"boolean",
"null"
]
},
"p_value_format": {
"anyOf": [
{
"description": "P-value formatting rule (`four_decimal`, `apa`, `nejm`, `scientific`, or object)"
},
{
"type": "null"
}
]
},
"selected_data_sets": {
"description": "Subset of zero-based dataset column indices to analyze",
"items": {
"description": "Dataset column index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"sheet_id": {
"description": "Optional target result sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"source_sheet_id": {
"description": "Source data sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"spec": {
"description": "Full serialized AnalysisSpec payload",
"type": [
"object",
"null"
]
},
"title": {
"description": "Optional custom title override",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"transform_run"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: graph (17)
graph_add_annotation
[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.
Input schema:
{
"additionalProperties": true,
"properties": {
"annotation": {
"description": "Full serialized GraphAnnotation object",
"type": [
"object",
"null"
]
},
"bordered": {
"description": "Whether to draw a border around text box or model equation annotations",
"type": [
"boolean",
"null"
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Bounding rectangle [x, y, w, h] or RectPt object"
},
{
"type": "null"
}
]
},
"data_set_index": {
"description": "Zero-based fitted dataset curve index for model equation annotations (default 0)",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"font_size_pt": {
"description": "Font size in points for model equation annotations (default 10.0)",
"maximum": 144.0,
"minimum": 1.0,
"type": [
"number",
"null"
]
},
"kind": {
"description": "Annotation shorthand kind (`text`, `line`, `arrow`, `shape`, `table`, `equation` / `model_equation`)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"mode": {
"description": "Equation rendering mode for model equation annotations (`substituted` or `symbolic`, default `substituted`)",
"enum": [
"substituted",
"symbolic"
],
"type": [
"string",
"null"
]
},
"result_sheet_id": {
"description": "Result sheet ID for embedded table or model equation annotations",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Graph sheet ID",
"minLength": 1,
"type": "string"
},
"text": {
"description": "Text or markdown body for text annotations",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_add_annotation"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_add_comparison_brackets
[graph.addComparisonBrackets] Add Pairwise Significance Brackets — Add statistical comparison brackets (stars or numeric P/q values) driven by a result sheet's pairwise comparisons.
Input schema:
{
"additionalProperties": false,
"properties": {
"bracket_step_pt": {
"description": "Vertical step spacing between stacked brackets in points",
"minimum": 1.0,
"type": [
"number",
"null"
]
},
"clear_existing": {
"description": "Remove existing brackets before appending new ones",
"type": [
"boolean",
"null"
]
},
"font_size_pt": {
"description": "Label font size in points",
"minimum": 1.0,
"type": [
"number",
"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": {
"description": "Hide bracket automatically if P exceeds alpha",
"type": [
"boolean",
"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": {
"description": "Skip non-significant comparisons when adding all pairs",
"type": [
"boolean",
"null"
]
},
"stroke_width_pt": {
"description": "Stroke width in points",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"style": {
"description": "Bracket shape (`square`, `half_tick`, `flat_line`, `curly`)",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id",
"result_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"result_sheet_id":"<result_sheet_id>","sheet_id":"<sheet_id>"},"name":"graph_add_comparison_brackets"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_apply_canvas_preset
[graph.applyCanvasPreset] Apply Graph Canvas Preset — Resize a graph canvas to a journal column, slide, or poster preset (`KeepTypographyPt` or `ProportionalScale`).
Input schema:
{
"additionalProperties": false,
"properties": {
"preset": {
"description": "Canvas preset (`SingleColumn88mm`, `ColumnAndHalf130mm`, `DoubleColumn180mm`, `FullPagePortrait`, `Slide16x9`, `PosterPanel`)",
"minLength": 1,
"type": "string"
},
"resize_mode": {
"description": "Resize mode (`KeepTypographyPt` or `ProportionalScale`)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Target graph or layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"preset"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"preset":"<preset>","sheet_id":"<sheet_id>"},"name":"graph_apply_canvas_preset"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_apply_style_from
[graph.applyStyleFrom] Apply Graph Style From... — Copy visual styling (palette, frame, axis styling, legend, and series appearances) from a donor graph.
Input schema:
{
"additionalProperties": false,
"properties": {
"clone_error_bars_and_legend": {
"description": "Copy error bar and legend settings",
"type": [
"boolean",
"null"
]
},
"clone_frame_and_axes": {
"description": "Copy frame and axis styling",
"type": [
"boolean",
"null"
]
},
"clone_palette": {
"description": "Copy color palette and series colors",
"type": [
"boolean",
"null"
]
},
"donor_sheet_id": {
"description": "Donor graph sheet ID to copy styling from",
"minLength": 1,
"type": "string"
},
"sheet_id": {
"description": "Target graph sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"target_sheet_ids": {
"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",
"null"
]
}
},
"required": [
"donor_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"donor_sheet_id":"<donor_sheet_id>"},"name":"graph_apply_style_from"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_create
[graph.create] New Graph — Create a new graph sheet bound to an input data sheet with optional kind, title, and initialization state.
Input schema:
{
"additionalProperties": false,
"properties": {
"data_sheet_id": {
"description": "Source data sheet ID to plot",
"minLength": 1,
"type": "string"
},
"initialized": {
"description": "Whether the graph starts marked as initialized",
"type": [
"boolean",
"null"
]
},
"kind": {
"anyOf": [
{
"description": "Optional initial graph kind string or GraphKind object"
},
{
"type": "null"
}
]
},
"one_per_data_set": {
"description": "When true, create one single-series graph sheet per data set in one undo step",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "Optional explicit graph sheet ID (prefix when creating multiple graphs)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"title": {
"description": "Optional graph title",
"type": [
"string",
"null"
]
},
"y_axis_title": {
"description": "Optional initial Y-axis title",
"type": [
"string",
"null"
]
}
},
"required": [
"data_sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"data_sheet_id":"<data_sheet_id>"},"name":"graph_create"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_format_selected_points
[graph.formatSelectedPoints] Format Selected Points — Apply, merge, replace, or clear per-point visual overrides across one or more selected graph points.
Input schema:
{
"additionalProperties": false,
"properties": {
"border_width_pt": {
"description": "Shared marker border width in points for batch `points` (or null to clear)",
"type": [
"number",
"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": {
"description": "Shared marker fill mode for batch `points` (or null to clear)",
"type": [
"string",
"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": {
"additionalProperties": false,
"properties": {
"border_width_pt": {
"description": "Override marker border width in points (>= 0, or null to clear)",
"type": [
"number",
"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": {
"description": "Override marker fill mode (filled, open, semi_top, semi_bottom, semi_left, semi_right, or null)",
"type": [
"string",
"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": {
"description": "Override positive marker size in points (> 0, or null to clear)",
"type": [
"number",
"null"
]
},
"subcol": {
"description": "Optional zero-based replicate subcolumn index",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"symbol": {
"description": "Override marker shape (circle, square, triangle_up, triangle_down, diamond, cross, plus, star, hexagon, or null)",
"type": [
"string",
"null"
]
}
},
"required": [
"series_index",
"point_index"
],
"type": "object"
},
"type": "array"
},
"points": {
"description": "Target (series_index, point_index) points to format uniformly or clear",
"items": {
"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": {
"description": "Optional zero-based replicate subcolumn index",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [
"series_index",
"point_index"
],
"type": "object"
},
"type": "array"
},
"sheet_id": {
"description": "Target graph sheet ID",
"minLength": 1,
"type": "string"
},
"size_pt": {
"description": "Shared positive marker size in points for batch `points` (or null to clear)",
"type": [
"number",
"null"
]
},
"symbol": {
"description": "Shared marker shape for batch `points` (or null to clear)",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_format_selected_points"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_initialize
[graph.initialize] Initialize Graph — Initialize an uninitialized graph sheet, applying its graph kind and default series styling.
Input 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": {
"description": "Optional graph title override",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_initialize"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_insert_image
[graph.insertImage] Insert Image on Graph — Embed a PNG, JPEG, or TIFF raster image annotation onto a graph sheet.
Input schema:
{
"additionalProperties": false,
"properties": {
"asset_id": {
"description": "Existing content-addressed image `asset_id` already stored in the project",
"minLength": 1,
"type": [
"string",
"null"
]
},
"border": {
"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": {
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"bytes_base64": {
"description": "Base64-encoded PNG, JPEG, or TIFF image payload",
"minLength": 1,
"type": [
"string",
"null"
]
},
"crop": {
"additionalProperties": false,
"properties": {
"bottom_pt": {
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"left_pt": {
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"right_pt": {
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"top_pt": {
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"lock_aspect_ratio": {
"description": "Preserve intrinsic image aspect ratio when resizing one dimension (default `true`)",
"type": [
"boolean",
"null"
]
},
"path": {
"description": "Regular local file path to a PNG, JPEG, or TIFF image (URLs rejected)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"rotation_deg": {
"description": "Clockwise rotation in degrees around the center of `bounds_pt`",
"maximum": 3600.0,
"minimum": -3600.0,
"type": [
"number",
"null"
]
},
"sheet_id": {
"description": "Target GraphSheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_insert_image"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_preflight_check
[graph.preflightCheck] Preflight Check Figure — Compile a graph or layout sheet and check typography, hairlines, clipping, and overlap readiness.
Input schema:
{
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "Graph or layout sheet ID to audit",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_preflight_check"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_set_additional_ticks
[graph.setAdditionalTicks] Set Additional Axis Ticks — Set custom callout ticks and optional gridlines along the `x`, `y`, or `y2` axis.
Input 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": {
"type": [
"boolean",
"null"
]
},
"label": {
"type": [
"string",
"null"
]
},
"value": {
"description": "Finite numeric coordinate on the axis",
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"sheet_id",
"axis",
"ticks"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"axis":"<axis>","sheet_id":"<sheet_id>","ticks":[]},"name":"graph_set_additional_ticks"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_set_axes
[graph.setAxes] Format Axes — Configure X, Y, and right-hand Y2 axes including log/probit/logit scales, segmented breaks, thresholds, and frame presets.
Input schema:
{
"additionalProperties": true,
"properties": {
"axis": {
"description": "Single axis shorthand target (`x`, `y`, or `y2`) when specifying axis properties at top level",
"minLength": 1,
"type": [
"string",
"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": {
"description": "Axis specification fields (title, segments, scale, min, max, tick_format, additional_ticks, etc.)",
"type": [
"object",
"null"
]
},
"y2_axis": {
"description": "Axis specification fields (title, segments, scale, min, max, tick_format, additional_ticks, etc.)",
"type": [
"object",
"null"
]
},
"y_axis": {
"description": "Axis specification fields (title, segments, scale, min, max, tick_format, additional_ticks, etc.)",
"type": [
"object",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_set_axes"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_set_compact_letter_display
[graph.setCompactLetterDisplay] Compact Letter Display — Configure or toggle Piepho (2004) compact letter display significance grouping letters and pairwise display mode on a graph.
Input schema:
{
"additionalProperties": false,
"properties": {
"alpha_override": {
"description": "Optional explicit significance alpha in (0, 1) overriding result decisions",
"type": [
"number",
"null"
]
},
"color": {
"anyOf": [
{
"description": "Text color (`#RRGGBB`, `#RRGGBBAA`, color name, or `[r, g, b]` / `[r, g, b, a]`)"
},
{
"type": "null"
}
]
},
"enabled": {
"description": "Enable (true) or clear (false) compact letter display annotation",
"type": [
"boolean",
"null"
]
},
"font_size_pt": {
"description": "Letter font size in points in (0, 144]",
"maximum": 144.0,
"minimum": 1.0,
"type": [
"number",
"null"
]
},
"offset_pt": {
"description": "Vertical clearance above plotted elements in points in [0, 200]",
"maximum": 200.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"ordering": {
"description": "Monotonic letter assignment direction (`descending_mean` or `ascending_mean`)",
"type": [
"string",
"null"
]
},
"pairwise_display_mode": {
"description": "Pairwise display mode (`brackets_only`, `compact_letter_display_only` / `cld_only`, or `brackets_and_compact_letter_display` / `both`)",
"type": [
"string",
"null"
]
},
"result_sheet_id": {
"description": "Result sheet ID supplying all-pairwise adjusted p/q comparisons",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Graph sheet ID",
"minLength": 1,
"type": "string"
},
"uppercase": {
"description": "Use uppercase letters (A, B, AB) instead of lowercase (a, b, ab)",
"type": [
"boolean",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_set_compact_letter_display"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_set_kind
[graph.setKind] Change Graph Type — Switch a graph's visualization type (XY, column, grouped, survival, multivariate, diagnostic) with optional style reset.
Input schema:
{
"additionalProperties": false,
"properties": {
"kind": {
"description": "Replacement graph kind string or typed GraphKind object"
},
"option_id": {
"description": "Optional UI graph type catalog identifier",
"type": [
"string",
"null"
]
},
"reset_series_style": {
"description": "Reinitialize series GDOs to defaults for the new kind (default true)",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"kind"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"kind":"<kind>","sheet_id":"<sheet_id>"},"name":"graph_set_kind"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_set_regression_overlay
[graph.setRegressionOverlay] Overlay Regression Curve — Bind or clear a fitted curve overlay with optional confidence/prediction bands on one or all graph series.
Input schema:
{
"additionalProperties": false,
"properties": {
"all_series": {
"description": "Apply overlay to all series on the graph",
"type": [
"boolean",
"null"
]
},
"clear": {
"description": "Clear existing regression overlay instead of attaching one",
"type": [
"boolean",
"null"
]
},
"data_set_index": {
"description": "Target bound dataset index",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"result_sheet_id": {
"description": "Result sheet ID supplying fitted curves and bands",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sample_segments": {
"description": "Curve subdivision density (clamped to 256..=1024)",
"maximum": 65535,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"series_index": {
"description": "Target series index",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"shaded_ribbon": {
"description": "Fill confidence/prediction bands as translucent ribbons",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
},
"show_confidence_band": {
"description": "Render 95% confidence band",
"type": [
"boolean",
"null"
]
},
"show_prediction_band": {
"description": "Render 95% prediction band",
"type": [
"boolean",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_set_regression_overlay"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_set_series
[graph.setSeries] Format Data Series — Style one or all data series: colors, markers, connecting lines, error bars, right-Y binding, or multivariate encoding.
Input schema:
{
"additionalProperties": true,
"properties": {
"all_series": {
"description": "When true, apply the single-series patch fields to every series on the graph",
"type": [
"boolean",
"null"
]
},
"data_set_index": {
"description": "Data set column index to match against bound series",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"mode": {
"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",
"null"
]
},
"multivariate": {
"description": "Multivariate 5-channel bubble/scatter encoding",
"type": [
"object",
"null"
]
},
"series": {
"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": {
"description": "Data set column index to bind or match against an existing series",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"series_index": {
"description": "Optional zero-based target series slot index within `spec.series`",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"type": [
"array",
"null"
]
},
"series_index": {
"description": "Zero-based series slot index",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"sheet_id": {
"description": "Graph sheet ID to update",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_set_series"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_set_spec
[graph.setSpec] Update Graph Specification — Patch a graph's full GraphSpec, palette, frame, legend, title, survival options, or multivariate encoding.
Input schema:
{
"additionalProperties": true,
"properties": {
"forest_show_pooled_diamond": {
"description": "Show pooled summary diamond row on diagnostic forest plots",
"type": [
"boolean",
"null"
]
},
"heatmap_labels": {
"description": "Heatmap row/column label mode and rotation spec",
"type": [
"object",
"null"
]
},
"initialized": {
"description": "Optional initialized state",
"type": [
"boolean",
"null"
]
},
"multivariate": {
"description": "5-channel multivariate encoding specification",
"type": [
"object",
"null"
]
},
"orientation": {
"description": "Cartesian plot orientation",
"enum": [
"vertical",
"horizontal"
],
"type": [
"string",
"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": {
"description": "Partial or complete GraphSpec JSON patch",
"type": [
"object",
"null"
]
},
"survival_number_at_risk": {
"description": "Show number-at-risk table under survival plots",
"type": [
"boolean",
"null"
]
},
"title": {
"description": "Optional updated graph title",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_set_spec"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_update_image
[graph.updateImage] Format Embedded Graph Image — Update placement bounds, aspect-ratio lock, rotation, crop insets, or border on an embedded graph image.
Input schema:
{
"additionalProperties": false,
"properties": {
"annotation_index": {
"description": "Zero-based index of the EmbeddedImage annotation",
"minimum": 0,
"type": "integer"
},
"border": {
"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": {
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Updated placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"crop": {
"additionalProperties": false,
"properties": {
"bottom_pt": {
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"left_pt": {
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"right_pt": {
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"top_pt": {
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"height_pt": {
"description": "Updated height in points (> 0); adjusts `width_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": [
"number",
"null"
]
},
"lock_aspect_ratio": {
"description": "Lock or unlock intrinsic aspect ratio during single-axis resize",
"type": [
"boolean",
"null"
]
},
"rotation_deg": {
"description": "Updated clockwise rotation in degrees",
"maximum": 3600.0,
"minimum": -3600.0,
"type": [
"number",
"null"
]
},
"sheet_id": {
"description": "Target GraphSheet ID",
"minLength": 1,
"type": "string"
},
"width_pt": {
"description": "Updated width in points (> 0); adjusts `height_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": [
"number",
"null"
]
}
},
"required": [
"sheet_id",
"annotation_index"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"annotation_index":1,"sheet_id":"<sheet_id>"},"name":"graph_update_image"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: layout (9)
layout_add_panel
[layout.addPanel] Add Panel to Layout — Place a live graph panel, live table panel, or markdown text callout onto a layout sheet.
Input schema:
{
"additionalProperties": false,
"properties": {
"badge_override": {
"description": "Custom panel badge label overriding automatic lettering",
"type": [
"string",
"null"
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Explicit `[x, y, width, height]` array or `RectPt` object in points"
},
{
"type": "null"
}
]
},
"col": {
"description": "Zero-based grid column index when auto-placing",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"font_size_pt": {
"description": "Text callout font size in points (default 10.0)",
"minimum": 0.5,
"type": [
"number",
"null"
]
},
"graph_sheet_id": {
"description": "Source graph sheet ID when adding a live graph panel",
"minLength": 1,
"type": [
"string",
"null"
]
},
"gutter_pt": {
"description": "Grid auto-placement inter-panel gutter in points (default 12.0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"kind": {
"description": "Panel kind (`graph`, `table`, or `text`)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"margin_pt": {
"description": "Grid auto-placement outer page margin in points (default 18.0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"markdown": {
"description": "Markdown body text for text callout panels",
"type": [
"string",
"null"
]
},
"panel_id": {
"description": "Optional explicit panel identifier",
"type": [
"string",
"null"
]
},
"row": {
"description": "Zero-based grid row index when auto-placing",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"scale_percent": {
"description": "Live graph display scale percentage (default 100.0)",
"minimum": 0.01,
"type": [
"number",
"null"
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
},
"source_sheet_id": {
"description": "Source data or result sheet ID when adding a live table panel",
"minLength": 1,
"type": [
"string",
"null"
]
},
"tab_id": {
"description": "Optional result tab ID or title for live table panels",
"type": [
"string",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"layout_add_panel"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_align_origins
[layout.alignOrigins] Align Panel Origins — Enable or disable plot-area origin alignment across layout panels and optionally normalize live graph bounds.
Input schema:
{
"additionalProperties": false,
"properties": {
"align": {
"description": "Enable or disable plot-origin alignment (default true)",
"type": [
"boolean",
"null"
]
},
"normalize_bounds": {
"description": "Snap nearby live graph panel X/Y bounds into shared row/column bands (default true)",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"layout_align_origins"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_apply_canvas_preset
[layout.applyCanvasPreset] Apply Layout Canvas Preset — Resize a layout page to a standard publication canvas preset while optionally preserving typography sizes.
Input schema:
{
"additionalProperties": false,
"properties": {
"preset": {
"description": "Canvas preset (`SingleColumn88mm`, `ColumnAndHalf130mm`, `DoubleColumn180mm`, `FullPagePortrait`, `Slide16x9`, `PosterPanel`)",
"minLength": 1,
"type": "string"
},
"resize_mode": {
"description": "Resize mode (`KeepTypographyPt` or `ProportionalScale`)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Target graph or layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"preset"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"preset":"<preset>","sheet_id":"<sheet_id>"},"name":"layout_apply_canvas_preset"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_create
[layout.create] New Layout — Create a new publication layout sheet with a journal width preset, page orientation, and grid template.
Input schema:
{
"additionalProperties": false,
"properties": {
"align_plot_origins": {
"description": "Align adjacent live graph plot-area origins",
"type": [
"boolean",
"null"
]
},
"background_fill": {
"anyOf": [
{
"description": "Optional page background RGBA fill or `#RRGGBB` hex; null for transparent"
},
{
"type": "null"
}
]
},
"grid_template": {
"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",
"null"
]
},
"height": {
"description": "Page height in the configured physical unit",
"minimum": 0.01,
"type": [
"number",
"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": "Optional explicit layout sheet ID",
"minLength": 1,
"type": [
"string",
"null"
]
},
"title": {
"description": "Optional layout sheet title (defaults to `Layout 1`)",
"type": [
"string",
"null"
]
},
"unit": {
"anyOf": [
{
"description": "Physical unit (`mm`, `cm`, `in`, `pt`)"
},
{
"type": "null"
}
]
},
"width": {
"description": "Page width in the configured physical unit",
"minimum": 0.01,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"layout_create"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_equalize_scaling
[layout.equalizeScaling] Equalize Scaling — Equalize rendered inner plot scaling across live graph panels on a layout sheet.
Input schema:
{
"additionalProperties": false,
"properties": {
"mode": {
"description": "Scaling equalization rule (`match_smallest`, `match_largest`, or `explicit_percent`)",
"enum": [
"match_smallest",
"match_largest",
"explicit_percent",
"MatchSmallest",
"MatchLargest",
"ExplicitPercent"
],
"type": [
"string",
"null"
]
},
"panel_ids": {
"description": "Optional subset of live graph panel IDs to equalize",
"items": {
"description": "Panel ID",
"minLength": 1,
"type": "string"
},
"type": [
"array",
"null"
]
},
"panel_indices": {
"description": "Optional subset of zero-based panel indices to equalize",
"items": {
"description": "Panel index",
"minimum": 0,
"type": "integer"
},
"type": [
"array",
"null"
]
},
"percent": {
"description": "Explicit target scale percentage in [5.0, 500.0] for `explicit_percent`",
"maximum": 500.0,
"minimum": 5.0,
"type": [
"number",
"null"
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"layout_equalize_scaling"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_insert_image
[layout.insertImage] Insert Image on Layout — Embed a PNG, JPEG, or TIFF raster image item onto a publication layout sheet.
Input schema:
{
"additionalProperties": false,
"properties": {
"asset_id": {
"description": "Existing content-addressed image `asset_id` already stored in the project",
"minLength": 1,
"type": [
"string",
"null"
]
},
"badge_override": {
"description": "Optional panel badge text rendered in top-left corner",
"type": [
"string",
"null"
]
},
"border": {
"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": {
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Optional placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"bytes_base64": {
"description": "Base64-encoded PNG, JPEG, or TIFF image payload",
"minLength": 1,
"type": [
"string",
"null"
]
},
"crop": {
"additionalProperties": false,
"properties": {
"bottom_pt": {
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"left_pt": {
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"right_pt": {
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"top_pt": {
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"lock_aspect_ratio": {
"description": "Preserve intrinsic image aspect ratio when resizing one dimension (default `true`)",
"type": [
"boolean",
"null"
]
},
"panel_id": {
"description": "Optional explicit layout panel identifier",
"type": [
"string",
"null"
]
},
"path": {
"description": "Regular local file path to a PNG, JPEG, or TIFF image (URLs rejected)",
"minLength": 1,
"type": [
"string",
"null"
]
},
"rotation_deg": {
"description": "Clockwise rotation in degrees around the center of `bounds_pt`",
"maximum": 3600.0,
"minimum": -3600.0,
"type": [
"number",
"null"
]
},
"sheet_id": {
"description": "Target LayoutSheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"layout_insert_image"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_reorder_panel
[layout.reorderPanel] Reorder Panel — Change the z-order stacking depth of a panel on a layout sheet.
Input 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": {
"description": "Panel ID in `layout.spec.items`",
"minLength": 1,
"type": [
"string",
"null"
]
},
"panel_index": {
"description": "Zero-based index in `layout.spec.items`",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"sheet_id": {
"description": "Target layout sheet ID",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id",
"action"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"action":"bring_to_front","sheet_id":"<sheet_id>"},"name":"layout_reorder_panel"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_set_spec
[layout.setSpec] Format Layout — Update a layout sheet's page dimensions, journal preset, grid template, origin alignment, badge style, or background.
Input schema:
{
"additionalProperties": false,
"properties": {
"align_plot_origins": {
"description": "Align adjacent live graph plot-area origins",
"type": [
"boolean",
"null"
]
},
"background_fill": {
"anyOf": [
{
"description": "Optional page background RGBA fill or `#RRGGBB` hex; null for transparent"
},
{
"type": "null"
}
]
},
"grid_template": {
"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",
"null"
]
},
"height": {
"description": "Page height in the configured physical unit",
"minimum": 0.01,
"type": [
"number",
"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": {
"description": "Partial or full `LayoutSpec` JSON overlay",
"type": [
"object",
"null"
]
},
"title": {
"description": "Optional updated layout sheet title",
"type": [
"string",
"null"
]
},
"unit": {
"anyOf": [
{
"description": "Physical unit (`mm`, `cm`, `in`, `pt`)"
},
{
"type": "null"
}
]
},
"width": {
"description": "Page width in the configured physical unit",
"minimum": 0.01,
"type": [
"number",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"layout_set_spec"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_update_image
[layout.updateImage] Format Embedded Layout Image — Update placement bounds, aspect-ratio lock, rotation, crop insets, border, or badge override on a layout image.
Input schema:
{
"additionalProperties": false,
"properties": {
"badge_override": {
"description": "Updated corner badge label; pass null to clear",
"type": [
"string",
"null"
]
},
"border": {
"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": {
"description": "Border stroke width in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"bounds_pt": {
"anyOf": [
{
"description": "Updated placement `[x, y, width, height]` or `RectPt` in points"
},
{
"type": "null"
}
]
},
"crop": {
"additionalProperties": false,
"properties": {
"bottom_pt": {
"description": "Bottom crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"left_pt": {
"description": "Left crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"right_pt": {
"description": "Right crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"top_pt": {
"description": "Top crop inset in points (>= 0)",
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
},
"height_pt": {
"description": "Updated height in points (> 0); adjusts `width_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": [
"number",
"null"
]
},
"item_index": {
"description": "Zero-based index of the EmbeddedImage item",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"lock_aspect_ratio": {
"description": "Lock or unlock intrinsic aspect ratio during single-axis resize",
"type": [
"boolean",
"null"
]
},
"panel_id": {
"description": "Target EmbeddedImage `panel_id` (provide `panel_id` or `item_index`)",
"type": [
"string",
"null"
]
},
"rotation_deg": {
"description": "Updated clockwise rotation in degrees",
"maximum": 3600.0,
"minimum": -3600.0,
"type": [
"number",
"null"
]
},
"sheet_id": {
"description": "Target LayoutSheet ID",
"minLength": 1,
"type": "string"
},
"width_pt": {
"description": "Updated width in points (> 0); adjusts `height_pt` when aspect ratio is locked",
"minimum": 0.001,
"type": [
"number",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"layout_update_image"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Toolset: export (9)
export_pdf
[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.
Input schema:
{
"additionalProperties": false,
"properties": {
"color_space": {
"description": "PDF output color space (`srgb` or `cmyk`)",
"type": [
"string",
"null"
]
},
"compress_streams": {
"description": "Compress PDF content streams",
"type": [
"boolean",
"null"
]
},
"outline_text": {
"description": "Outline text glyphs into vector paths",
"type": [
"boolean",
"null"
]
},
"path": {
"description": "Optional output PDF file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Graph or layout sheet ID for single-page PDF",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_ids": {
"description": "Ordered sheet IDs for multi-page PDF export",
"items": {
"description": "Sheet ID",
"minLength": 1,
"type": "string"
},
"type": [
"array",
"null"
]
},
"title": {
"description": "Optional PDF document title metadata",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"export_pdf"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
export_png
[export.png] Export PNG — Rasterize a graph or layout sheet to a PNG image at the requested pixel dimensions or DPI.
Input schema:
{
"additionalProperties": false,
"properties": {
"dpi": {
"description": "Target resolution in dots per inch (default 300)",
"maximum": 65535,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"height_px": {
"description": "Explicit raster height in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"path": {
"description": "Optional output PNG file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to rasterize",
"minLength": 1,
"type": "string"
},
"width_px": {
"description": "Explicit raster width in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": [
"integer",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"export_png"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
export_svg
[export.svg] Export SVG — Render a graph or layout sheet to scalable vector graphics (SVG) and optionally write it atomically to disk.
Input schema:
{
"additionalProperties": false,
"properties": {
"embed_fonts": {
"description": "Embed bundled font faces",
"type": [
"boolean",
"null"
]
},
"include_metadata": {
"description": "Include document metadata block",
"type": [
"boolean",
"null"
]
},
"include_xml_declaration": {
"description": "Include leading XML declaration",
"type": [
"boolean",
"null"
]
},
"outline_text": {
"description": "Convert glyphs into vector outline paths",
"type": [
"boolean",
"null"
]
},
"path": {
"description": "Optional output file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"precision": {
"description": "Numeric coordinate decimal precision (0..=255)",
"maximum": 255,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"pretty": {
"description": "Format SVG XML with indentation",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"export_svg"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
export_tiff
[export.tiff] Export TIFF — Rasterize a graph or layout sheet to a TIFF image with selectable compression (`none`, `lzw`, `deflate`).
Input schema:
{
"additionalProperties": false,
"properties": {
"compression": {
"description": "TIFF compression codec (`none`, `lzw`, `deflate`)",
"type": [
"string",
"null"
]
},
"dpi": {
"description": "Target resolution in dots per inch (default 300)",
"maximum": 65535,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"height_px": {
"description": "Explicit raster height in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"path": {
"description": "Optional output TIFF file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to rasterize",
"minLength": 1,
"type": "string"
},
"width_px": {
"description": "Explicit raster width in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": [
"integer",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"export_tiff"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_export_emf
[graph.exportEmf] Export Graph EMF — Export a graph sheet as a Windows Enhanced Metafile (EMF) vector graphic.
Input schema:
{
"additionalProperties": false,
"properties": {
"path": {
"description": "Optional output EMF file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Target sheet ID to export to EMF",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_export_emf"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_export_pdf
[graph.exportPdf] Export Graph PDF — Export a graph sheet (or sheet list) to vector PDF.
Input schema:
{
"additionalProperties": false,
"properties": {
"color_space": {
"description": "PDF output color space (`srgb` or `cmyk`)",
"type": [
"string",
"null"
]
},
"compress_streams": {
"description": "Compress PDF content streams",
"type": [
"boolean",
"null"
]
},
"outline_text": {
"description": "Outline text glyphs into vector paths",
"type": [
"boolean",
"null"
]
},
"path": {
"description": "Optional output PDF file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Graph or layout sheet ID for single-page PDF",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_ids": {
"description": "Ordered sheet IDs for multi-page PDF export",
"items": {
"description": "Sheet ID",
"minLength": 1,
"type": "string"
},
"type": [
"array",
"null"
]
},
"title": {
"description": "Optional PDF document title metadata",
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"graph_export_pdf"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_export_png
[graph.exportPng] Export Graph PNG — Export a graph sheet to a raster PNG image.
Input schema:
{
"additionalProperties": false,
"properties": {
"dpi": {
"description": "Target resolution in dots per inch (default 300)",
"maximum": 65535,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"height_px": {
"description": "Explicit raster height in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"path": {
"description": "Optional output PNG file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to rasterize",
"minLength": 1,
"type": "string"
},
"width_px": {
"description": "Explicit raster width in pixels",
"maximum": 4294967295,
"minimum": 1,
"type": [
"integer",
"null"
]
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_export_png"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
graph_export_svg
[graph.exportSvg] Export Graph SVG — Export a graph sheet to SVG using the unified SVG renderer.
Input schema:
{
"additionalProperties": false,
"properties": {
"embed_fonts": {
"description": "Embed bundled font faces",
"type": [
"boolean",
"null"
]
},
"include_metadata": {
"description": "Include document metadata block",
"type": [
"boolean",
"null"
]
},
"include_xml_declaration": {
"description": "Include leading XML declaration",
"type": [
"boolean",
"null"
]
},
"outline_text": {
"description": "Convert glyphs into vector outline paths",
"type": [
"boolean",
"null"
]
},
"path": {
"description": "Optional output file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"precision": {
"description": "Numeric coordinate decimal precision (0..=255)",
"maximum": 255,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"pretty": {
"description": "Format SVG XML with indentation",
"type": [
"boolean",
"null"
]
},
"sheet_id": {
"description": "Graph or layout sheet ID to export",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"graph_export_svg"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
layout_export_emf
[layout.exportEmf] Export Layout EMF — Export a multi-panel layout sheet as a Windows Enhanced Metafile (EMF) vector graphic.
Input schema:
{
"additionalProperties": false,
"properties": {
"path": {
"description": "Optional output EMF file path",
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"description": "Target sheet ID to export to EMF",
"minLength": 1,
"type": "string"
}
},
"required": [
"sheet_id"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"sheet_id":"<sheet_id>"},"name":"layout_export_emf"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Interactive GUI Toolset (gui)
ui_inspect
Inspect the visible CurveBook GUI tree (shell, navigator, menus/toolbars, active modal/wizard with enabled/disabled_reason predicates, visible grid cells, and canvas hit targets).
Input schema:
{
"additionalProperties": false,
"properties": {
"include_bounds": {
"description": "Include widget/hit-target bounding boxes in the snapshot.",
"type": "boolean"
},
"metrics": {
"additionalProperties": false,
"description": "Optional ViewportMetrics ({logical_width, logical_height, scale_factor}; also accepts width_px/height_px aliases) for HiDPI layout/dispatch.",
"properties": {
"height_px": {
"description": "Alias for logical_height.",
"exclusiveMinimum": 0.0,
"type": "number"
},
"logical_height": {
"description": "Logical viewport height in points (120..=16384).",
"exclusiveMinimum": 0.0,
"type": "number"
},
"logical_width": {
"description": "Logical viewport width in points (160..=16384).",
"exclusiveMinimum": 0.0,
"type": "number"
},
"scale_factor": {
"description": "HiDPI display scale factor (0.5..=8.0, default 1.0).",
"exclusiveMinimum": 0.0,
"type": "number"
},
"width_px": {
"description": "Alias for logical_width.",
"exclusiveMinimum": 0.0,
"type": "number"
}
},
"type": "object"
},
"scope": {
"description": "Optional subtree scope filter (defaults to 'all').",
"enum": [
"all",
"workspace",
"dialog",
"grid",
"navigator",
"canvas",
"menus",
"toolbar",
"tabs"
],
"type": "string"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"ui_inspect"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
ui_screenshot
Capture a deterministic PNG screenshot of the live CurveBook UI, returning inline PNG image content alongside pixel/DPI metadata (or atomically writing/overwriting an optional host output path outside --gui-only).
Input schema:
{
"additionalProperties": false,
"properties": {
"dpi": {
"description": "Optional render DPI (72..=600).",
"maximum": 600,
"minimum": 72,
"type": "integer"
},
"height_px": {
"description": "Image height in pixels (64..=4096).",
"maximum": 4096,
"minimum": 64,
"type": "integer"
},
"path": {
"description": "Optional host output path (overwrites existing file; rejected with gui_only_violation when --gui-only is active).",
"type": "string"
},
"target": {
"description": "Optional visual surface target (defaults to 'workspace').",
"enum": [
"full_window",
"workspace",
"viewport",
"canvas",
"dialog"
],
"type": "string"
},
"width_px": {
"description": "Image width in pixels (64..=4096).",
"maximum": 4096,
"minimum": 64,
"type": "integer"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"ui_screenshot"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"data":"<base64-png>","mimeType":"image/png","type":"image"},{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
ui_pointer_gesture
Dispatch a visible mouse/trackpad gesture against a widget_id or logical (x, y) viewport coordinates.
Input schema:
{
"additionalProperties": false,
"properties": {
"action": {
"description": "Pointer gesture kind.",
"enum": [
"click",
"double_click",
"right_click",
"drag",
"hover",
"wheel"
],
"type": "string"
},
"delta_y": {
"description": "Vertical scroll delta for 'wheel' gestures.",
"type": "number"
},
"hover_fraction_x": {
"description": "Optional fractional X coordinate [0.0, 1.0] for power curve hover.",
"type": "number"
},
"hover_n": {
"description": "Optional sample-size N coordinate for power curve hover.",
"type": "number"
},
"metrics": {
"additionalProperties": false,
"description": "Optional ViewportMetrics ({logical_width, logical_height, scale_factor}; also accepts width_px/height_px aliases) for HiDPI layout/dispatch.",
"properties": {
"height_px": {
"description": "Alias for logical_height.",
"exclusiveMinimum": 0.0,
"type": "number"
},
"logical_height": {
"description": "Logical viewport height in points (120..=16384).",
"exclusiveMinimum": 0.0,
"type": "number"
},
"logical_width": {
"description": "Logical viewport width in points (160..=16384).",
"exclusiveMinimum": 0.0,
"type": "number"
},
"scale_factor": {
"description": "HiDPI display scale factor (0.5..=8.0, default 1.0).",
"exclusiveMinimum": 0.0,
"type": "number"
},
"width_px": {
"description": "Alias for logical_width.",
"exclusiveMinimum": 0.0,
"type": "number"
}
},
"type": "object"
},
"modifiers": {
"description": "Optional modifier keys ({shift, ctrl, alt, meta, cmd} object or string list).",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"alt": {
"type": "boolean"
},
"cmd": {
"type": "boolean"
},
"ctrl": {
"type": "boolean"
},
"meta": {
"type": "boolean"
},
"shift": {
"type": "boolean"
}
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"target_id": {
"description": "Alias for widget_id.",
"type": "string"
},
"to_widget_id": {
"description": "Destination widget/hit-target ID for 'drag' gestures.",
"type": "string"
},
"to_x": {
"description": "Destination logical X coordinate for 'drag' gestures.",
"type": "number"
},
"to_y": {
"description": "Destination logical Y coordinate for 'drag' gestures.",
"type": "number"
},
"widget_id": {
"description": "Target widget or canvas hit-target ID from ui_inspect.",
"type": "string"
},
"x": {
"description": "Logical X coordinate when not addressing by widget_id.",
"type": "number"
},
"y": {
"description": "Logical Y coordinate when not addressing by widget_id.",
"type": "number"
}
},
"required": [
"action"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"action":"click"},"name":"ui_pointer_gesture"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
ui_type_text
Type or paste UTF-8 text (including multi-cell TSV blocks with tabs/newlines) into the focused cell/field or specified widget_id.
Input schema:
{
"additionalProperties": false,
"properties": {
"clear_existing": {
"description": "Clear existing cell or field content before typing.",
"type": "boolean"
},
"commit_enter": {
"description": "Commit the inline edit or field with Enter after typing.",
"type": "boolean"
},
"text": {
"description": "Exact UTF-8 text or TSV payload to enter (whitespace preserved).",
"type": "string"
},
"widget_id": {
"description": "Optional widget ID to focus before entering text.",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"text":"<text>"},"name":"ui_type_text"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
ui_press_key
Press a keyboard key or shortcut (e.g. Enter, Escape, Tab, Delete, Backspace, Cmd/Ctrl+T, Cmd/Ctrl+E).
Input schema:
{
"additionalProperties": false,
"properties": {
"key": {
"description": "Key identifier such as 'Enter', 'Escape', 'Tab', 'Delete', 'ArrowDown', 't', or 'e'.",
"type": "string"
},
"modifiers": {
"description": "Optional modifier keys ({shift, ctrl, alt, meta, cmd} object or string list).",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"alt": {
"type": "boolean"
},
"cmd": {
"type": "boolean"
},
"ctrl": {
"type": "boolean"
},
"meta": {
"type": "boolean"
},
"shift": {
"type": "boolean"
}
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"key"
],
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"key":"<key>"},"name":"ui_press_key"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
ui_switch_tab
Switch the active sheet, modal/wizard stage, or ResultSheet sub-tab (fails with disabled_reason if grayed out).
Input schema:
{
"additionalProperties": false,
"properties": {
"sheet_id": {
"description": "Optional sheet identifier to activate before/when selecting a sub-tab.",
"type": "string"
},
"tab": {
"description": "Tab identifier, visible tab label, or zero-based tab index.",
"oneOf": [
{
"type": "string"
},
{
"minimum": 0,
"type": "integer"
}
]
},
"tab_id": {
"description": "Alias for tab.",
"oneOf": [
{
"type": "string"
},
{
"minimum": 0,
"type": "integer"
}
]
},
"widget_id": {
"description": "Optional tab strip or widget identifier.",
"type": "string"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"ui_switch_tab"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
ui_answer_dialog
Update enabled modal/wizard controls by widget_id (`fields`/`values`/`patches`) and/or click a modal action button (e.g. 'ok', 'cancel', 'next', 'back', 'create', 'apply', 'preview').
Input schema:
{
"additionalProperties": false,
"properties": {
"action": {
"description": "Modal button action to activate (e.g. 'ok', 'cancel', 'back', 'next', 'create', 'apply', 'preview').",
"type": "string"
},
"choice": {
"description": "Optional selection for prompt dialogs (e.g. 'create_new' or 'modify_existing').",
"type": "string"
},
"fields": {
"description": "Map of modal widget_id -> value to set before clicking action.",
"type": "object"
},
"force_create_new": {
"description": "Optional flag creating a new ResultSheet directly when committing AnalyzeSheet.",
"type": "boolean"
},
"patches": {
"description": "Alias for fields mapping widget_id -> value.",
"type": "object"
},
"values": {
"description": "Alias for fields mapping widget_id -> value.",
"type": "object"
}
},
"type": "object"
}
Single-call request / response syntax:
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"ui_answer_dialog"}}
{"id":1,"jsonrpc":"2.0","result":{"content":[{"text":"{...}","type":"text"}],"isError":false,"structuredContent":{}}}
Resource URI Schemes
| URI Scheme | MIME Type | Sample Descriptor | Policy |
|---|---|---|---|
sheet://data-1 | application/json | Data 1 — XY data sheet (2 rows x 1 cols) | Disabled under --gui-only |
result://<id> | application/json | Serialized computed ResultSheet tabs and diagnostics | Disabled under --gui-only |
Built-in Workflow Prompts
dose_response_curve_fit
Standard mode: Step-by-step workflow to fit a 4-parameter agonist/antagonist dose-response curve, overlay it on a graph, and inspect EC50/IC50 scalars.
GUI-only mode: GUI-only step-by-step workflow to inspect an XY sheet, fit a 4-parameter dose-response curve via menus/dialogs, and verify via screenshots.
sheet_id(optional): Target XY data sheet ID (defaults to xy-1).response_type(optional): Response direction: agonist or antagonist (defaults to agonist).
{"id":1,"jsonrpc":"2.0","method":"prompts/get","params":{"name":"dose_response_curve_fit"}}
choose_two_group_test
Standard mode: Decision checklist and CurveBook command sequence for choosing between parametric and non-parametric two-group comparisons.
GUI-only mode: GUI-only decision checklist and interactive dialog sequence for choosing between parametric and non-parametric two-group comparisons.
sheet_id(optional): Column or grouped data sheet ID.paired(optional): String `'true'` or `'false'` indicating whether observations are matched/paired (MCP prompt arguments must be strings).parametric(optional): String `'true'`, `'false'`, or `'unknown'` indicating whether normality and variance assumptions hold (MCP prompt arguments must be strings).
{"id":1,"jsonrpc":"2.0","method":"prompts/get","params":{"name":"choose_two_group_test"}}
publication_figure_checklist
Standard mode: Preflight and export workflow for producing vector (SVG/PDF) or high-DPI raster (TIFF/PNG) publication figures.
GUI-only mode: GUI-only figure preflight, visual inspection, and interactive export workflow using menus, dialogs, and inline screenshots.
graph_sheet_id(optional): GraphSheet or LayoutSheet ID.target_format(optional): Desired export format (pdf, svg, tiff, png).
{"id":1,"jsonrpc":"2.0","method":"prompts/get","params":{"name":"publication_figure_checklist"}}