Garphield MCP
This server enables agents to build, style, layout, and export network graphs from data sources like CSV or JSON. It supports creating documents, inspecting fields, applying visual bindings, computing layouts, and exporting results as links or files, with graphs stored temporarily for link-based access.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.garphield.com/mcpWhat its tools do
9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to garphield.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Build a network graph from CSV or JSON data
- Style nodes and edges by binding them to data fields
- Compute and save graph layouts using force algorithms
- Export graphs as shareable links or image files
Source and maintenance
Protocol and capabilities
- Server
- garphield 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 9 advertised
- Resources
- 1 advertised
- Resource templates
- 0 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
9 advertised
garphield_create — Create a Garphield graph
Create a stored graph document from data and return its reference (doc). Pass exactly one of: graph (node-link JSON: nodes [{id, ...attributes}] and edges [{source, target, ...attributes}]), table (CSV text for links, optionally nodes), file (a GEXF, GraphML, GML, node-link JSON, Cytoscape JSON, a Gephi Lite workspace, Kumu JSON, edge list, Matrix Market, graph6 or .gph text), or url. url fetches from three public sources only, and refuses every other site: a file on GitHub (raw.githubusercontent.com, a github.com/<owner>/<repo>/blob/... page, or a gist's raw link), a Google Sheet shared with anyone with the link or published to the web, or a table on a Wikipedia article (<lang>.wikipedia.org/wiki/<Title>; url.wikitable picks which). For a table, name the link columns with url.source and url.target. The result lists the bindable fields with their ids and types, the names a binding accepts.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"url": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "An https link to a GitHub file (raw.githubusercontent.com, github.com/<owner>/<repo>/blob/..., gist.githubusercontent.com), a Google Sheet shared publicly or published (docs.google.com/spreadsheets/d/...; #gid= picks the tab), or a Wikipedia article (<lang>.wikipedia.org/wiki/<Title>). Other sites are refused."
},
"source": {
"type": "string",
"minLength": 1,
"description": "For a table (CSV/TSV file, sheet, Wikipedia table): the column holding the source id. Default \"source\"."
},
"target": {
"type": "string",
"minLength": 1,
"description": "For a table: the column holding the target id. Default \"target\"."
},
"directed": {
"type": "boolean",
"description": "Default false."
},
"wikitable": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Wikipedia only: which wikitable on the page, counting from 1 in page order. Default 1."
}
},
"description": "Data fetched from a public link. A table's columns match case-insensitively; when source or target is missing, the error lists the columns.",
"additionalProperties": false
},
"file": {
"type": "object",
"required": [
"format",
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"description": "The file's contents."
},
"format": {
"enum": [
"gph",
"nodelink",
"compactjson",
"cyjs",
"gephilite",
"kumu",
"gexf",
"graphml",
"gml",
"edgelist",
"matrixmarket",
"graph6",
"sparse6",
"digraph6"
],
"type": "string"
}
},
"description": "A graph file in a format the workbench opens (not DOT).",
"additionalProperties": false
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Title shown in the workbench and in share previews."
},
"graph": {
"type": "object",
"properties": {
"edges": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"source": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
]
},
"target": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
]
}
},
"description": "A link between two node ids, plus any attributes (weight, ...).",
"additionalProperties": {}
}
},
"graph": {
"type": "object",
"description": "Graph attributes (NetworkX's graph key), kept on the document.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"source": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
]
},
"target": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
]
}
},
"description": "A link between two node ids, plus any attributes (weight, ...).",
"additionalProperties": {}
},
"description": "NetworkX's older name for edges; pass one or the other."
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
]
}
},
"description": "A node: its id plus any attributes (label, role, x, y, ...).",
"additionalProperties": {}
}
},
"directed": {
"type": "boolean",
"description": "Default false."
},
"multigraph": {
"type": "boolean",
"description": "NetworkX's flag, accepted and ignored: a repeated pair keeps its first link."
}
},
"description": "Node-link JSON. Nodes named only by a link are created. Ids are stored as strings.",
"additionalProperties": false
},
"table": {
"type": "object",
"required": [
"edges"
],
"properties": {
"edges": {
"type": "string",
"minLength": 1,
"description": "Links table: CSV, TSV or semicolon text with a header row."
},
"nodes": {
"type": "string",
"minLength": 1,
"description": "Optional node table with a header row; its rows add attributes."
},
"nodeId": {
"type": "string",
"minLength": 1,
"description": "Node table column holding the id. Default \"id\"."
},
"source": {
"type": "string",
"minLength": 1,
"description": "Links column holding the source id. Default \"source\"."
},
"target": {
"type": "string",
"minLength": 1,
"description": "Links column holding the target id. Default \"target\"."
},
"directed": {
"type": "boolean",
"description": "Default false."
}
},
"description": "Tables as text. Columns match case-insensitively; numeric cells become numbers and blank cells stay missing.",
"additionalProperties": false
}
},
"additionalProperties": false
}{
"title": "Create a Garphield graph",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}garphield_inspect — Inspect a Garphield graph
Describe a stored graph: size, density, connected components, whether it has saved positions, its data fields (ids to bind, type num or cat, missing counts, ranges or example values; temporal: true marks a date field, listed as (date), which a time filter can read, and years: true a numeric field of years), the channels and the types each accepts, the computed algorithms, the current view config (bindings, filters and saved sets), and a quality grade of the saved layout. The field ids it lists are the names a binding accepts.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"doc"
],
"properties": {
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"include": {
"type": "array",
"items": {
"enum": [
"fields",
"algorithms",
"channels",
"config",
"scales",
"quality"
],
"type": "string"
},
"minItems": 1,
"description": "Sections to return. Default [\"fields\", \"channels\", \"config\"]. \"algorithms\" lists computed sources (degree, louvain, ...) with their params; \"scales\" gives what each binding draws (every value's mark, label and count, or the numeric domain and range), in the form a binding's scale takes; \"quality\" grades the saved positions."
}
},
"additionalProperties": false
}{
"title": "Inspect a Garphield graph",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}garphield_style — Style a Garphield graph
Bind data fields or computed algorithms to visual channels, and set the layout mode, how links show direction (arrows), theme, tooltip templates for nodes and links, drawing values (appearance: link width and opacity, node size, curvature, label placement), structure (Group by rings, the Backbone, or a merge into one node per field value) and a time filter on a date field (timeFilter) of a stored graph. Example binding: {"channel": "edgeWidth", "field": "amount_bn"}; a bare field name resolves to the field on the channel's target (node or edge). Strict and atomic: if any entry is invalid nothing is written and each problem comes back with a path, the expected values and suggestions. Merges by channel unless replace is true. The result echoes every stored binding. preview: true also returns a small image of the styled graph; it adds a render (10-20 s on the hosted server), so ask for it when you mean to look.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"doc"
],
"properties": {
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"theme": {
"anyOf": [
{
"enum": [
"light",
"dark",
"seafoam"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Default theme for embed links (and the saved view, if the document has one). null clears it; a saved view returns to the light default."
},
"layout": {
"enum": [
"force",
"levels",
"geo"
],
"type": "string",
"description": "Layout the workbench uses on open. Sets config only and computes no positions."
},
"preview": {
"type": "boolean",
"description": "true returns a 600x400 image of the saved graph, so you can check it for overlapping nodes, tangles and unreadable labels and fix them. A render can take 10-20 s and counts toward the host's image limit; the change is saved even when no preview can be made. Default false."
},
"replace": {
"type": "boolean",
"description": "true replaces every binding with this list; false (default) merges by channel."
},
"bindings": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel"
],
"properties": {
"set": {
"type": "string",
"minLength": 1,
"description": "A set id saved in the document."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A data field by name (\"amount_bn\") or id (\"efield:amount_bn\"); a bare name resolves to the field on the channel's target."
},
"scale": {
"anyOf": [
{
"type": "object",
"required": [
"categories"
],
"properties": {
"missing": {
"type": "object",
"properties": {
"mark": {
"type": "string",
"description": "The mark for this value: a CSS colour (#rrggbb, rgb(), hsl()) for color, edgeColor, border, hull and contour; circle, square, triangle or diamond for shape; solid or dashed for edgeStyle; a glyph (text, inline <svg>, or image URL) for glyph."
},
"label": {
"type": "string",
"description": "What the legend shows for this value, instead of the value."
}
},
"description": "The mark and label for items with no value.",
"additionalProperties": false
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"mark": {
"type": "string",
"description": "The mark for this value: a CSS colour (#rrggbb, rgb(), hsl()) for color, edgeColor, border, hull and contour; circle, square, triangle or diamond for shape; solid or dashed for edgeStyle; a glyph (text, inline <svg>, or image URL) for glyph."
},
"label": {
"type": "string",
"description": "What the legend shows for this value, instead of the value."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "A data value, matched by its text form: 3 and \"3\" are the same value. A set binding's values are true (member) and false."
}
},
"additionalProperties": false
},
"description": "One entry per value, in legend order. Values not listed keep the default palette or shape cycle."
}
},
"description": "Marks and labels for a cat or set binding's values.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"domain",
"range"
],
"properties": {
"range": {
"anyOf": [
{
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
},
{
"type": "array",
"items": {
"type": "string"
},
"minItems": 2
}
],
"description": "Two lengths in px (size: node radius; edgeWidth: link width), or two or more CSS colours as ramp stops (color, edgeColor)."
},
"domain": {
"type": "array",
"description": "The data values that map to the two ends of the range. Values outside it are clamped.",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
}
},
"description": "A pinned domain and range for a num binding.",
"additionalProperties": false
}
],
"description": "Explicit marks for the binding's values. Omit it to use the defaults."
},
"levels": {
"type": "array",
"items": {
"type": "integer",
"maximum": 99,
"minimum": 1
},
"maxItems": 5,
"minItems": 1,
"description": "contour only: the regions to outline, as the share of each group's density each encloses (whole percentages); default [50, 75, 90]."
},
"params": {
"type": "object",
"description": "Algorithm params; each must be declared and in range.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"remove": {
"type": "boolean",
"const": true,
"description": "Unbind this channel. Pass only channel with it."
},
"source": {
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"kind": {
"enum": [
"algorithm",
"field",
"transform",
"set"
],
"type": "string"
},
"params": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"target": {
"enum": [
"node",
"edge"
],
"type": "string"
},
"temporal": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "instant"
}
},
"additionalProperties": false
}
},
"description": "The stored wire form instead of field/algorithm/set; requires resultType.",
"additionalProperties": false
},
"channel": {
"type": "string",
"minLength": 1,
"description": "Channel id, e.g. color, size, edgeWidth, edgeColor, hull."
},
"enabled": {
"type": "boolean"
},
"algorithm": {
"type": "string",
"minLength": 1,
"description": "A computed source id, e.g. degree, pagerank, louvain."
},
"bandwidth": {
"type": "number",
"maximum": 4,
"minimum": 0.25,
"description": "contour and heatmap only: kernel bandwidth as a multiple of the automatic one, half of Scott's rule on each group's spread (in kilometres on a Geo basemap). Under 1 separates tighter clusters; default 1."
},
"intensity": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "hull and heatmap only: drawing strength, 0-1."
},
"resultType": {
"enum": [
"num",
"cat",
"set",
"trf"
],
"type": "string",
"description": "Override the source's type, e.g. cat to colour a numeric field by value. Required with source."
}
},
"description": "One binding: a channel plus exactly one of field, algorithm, set or source; or a channel with remove.",
"additionalProperties": false
}
},
"structure": {
"type": "object",
"properties": {
"merge": {
"anyOf": [
{
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 4,
"minItems": 1,
"description": "Node fields; one merged node per value, each field once."
},
"label": {
"type": "string",
"maxLength": 400,
"description": "Label template over the merged fields: {field}, {members} (how many nodes merged), and {field by other} (field per value of other, joined \" → \"), e.g. \"{role} {tasks by side}\"."
},
"combine": {
"type": "object",
"description": "Rules per node or link field. Defaults: numbers sum, the size channel's field adds areas, categories keep the most common value, long text is listed.",
"propertyNames": {
"type": "string",
"minLength": 1
},
"additionalProperties": {
"enum": [
"sum",
"mean",
"min",
"max",
"area",
"first",
"mode",
"list"
],
"type": "string"
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Merge: one node per value of the fields, with the links between two merged nodes combined into one per direction. null turns it off."
},
"groups": {
"anyOf": [
{
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "A node field."
},
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "A categorical node algorithm: louvain, leiden, label_propagation, asyn_lpa, greedy_modularity, k_clique, spectral_bisection, kernighan_lin, connected_components."
},
"kind": {
"type": "string",
"const": "algorithm"
}
},
"description": "An algorithm's groups, written as a binding source: connected_components draws one ring per connected component, with isolated nodes in one ring.",
"additionalProperties": false
}
]
},
"maxItems": 4,
"description": "Levels, outer to inner, each once: node fields and algorithms, e.g. [{\"kind\": \"algorithm\", \"id\": \"connected_components\"}, \"team\"]; [] groups by nested Louvain communities."
},
"links": {
"enum": [
"none",
"inside",
"between",
"all"
],
"type": "string",
"description": "Links drawn besides those at hovered or selected nodes: none (default), inside (within the innermost group) or all (faded)."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Group by: nodes drawn as dots in nested rings, one ring per value. null turns it off."
},
"backbone": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"enum": [
"auto",
"faded",
"hidden"
],
"type": "string",
"description": "How links outside the Backbone draw: auto (default), faded or hidden."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Backbone: only the links that carry the structure. The workbench draws it where it can build one for the graph. null turns it off."
}
},
"description": "How the workbench and embeds draw the graph on open: Group by, Backbone and merge. Each part changes only what is given. A merge draws with neither groups nor the Backbone: turning it on turns them off, and turning either on turns it off. The network and its positions are unchanged.",
"additionalProperties": false
},
"appearance": {
"anyOf": [
{
"type": "object",
"properties": {
"nodeGap": {
"type": "number",
"maximum": 8,
"minimum": 0,
"description": "Pixels kept clear between nodes. 0 to 8; default 2."
},
"nodeSize": {
"type": "number",
"maximum": 2.5,
"minimum": 0.5,
"description": "Multiplies every node's drawn size. 0.5 to 2.5; default 1."
},
"arrowSize": {
"type": "number",
"maximum": 3,
"minimum": 0.5,
"description": "Arrowhead size, for flow links. 0.5 to 3; default 2."
},
"curvature": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "How far links bend, from 0 (straight) to 100. 0 to 100; default 0."
},
"linkWidth": {
"type": "number",
"maximum": 8,
"minimum": 0.1,
"description": "Multiplies every link's drawn width. 0.1 to 8; default 1."
},
"labelBudget": {
"type": "number",
"maximum": 10,
"minimum": 0.5,
"description": "Label density: how many node labels show at once. 0.5 to 10; default 1."
},
"linkOpacity": {
"type": "number",
"maximum": 2,
"minimum": 0.05,
"description": "Multiplies link opacity; under 1 is fainter. 0.05 to 2; default 1."
},
"linkOutline": {
"type": "number",
"maximum": 20,
"minimum": 0,
"description": "Link outline width in pixels. 0 to 20; default 2."
},
"labelPlacement": {
"enum": [
"beside",
"center",
"text"
],
"type": "string",
"description": "Node labels beside the node (default), centred on it, or text: each node drawn as its label in a box sized to the text, for concept maps."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The Style pane's drawing values, e.g. {\"linkWidth\": 4, \"linkOpacity\": 0.7}. Merges with the values already set; null returns them all to the defaults."
},
"timeFilter": {
"anyOf": [
{
"type": "object",
"required": [
"field"
],
"properties": {
"to": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
],
"description": "End of the window, inclusive. Default: the field's latest date, so every dated item shows."
},
"from": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
],
"description": "A date: YYYY-MM-DD (UTC midnight), an RFC3339 timestamp with a timezone, or epoch milliseconds."
},
{
"type": "null"
}
],
"description": "Start of the window, inclusive; absent or null for none."
},
"mode": {
"enum": [
"hide",
"fade"
],
"type": "string",
"description": "hide (default) leaves out what falls outside the window; fade dims it."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A date field, by name (\"published\") or id (\"field:published\", \"efield:sent\"): one whose values are YYYY-MM-DD dates or RFC3339 timestamps, which inspect lists as (date)."
},
"includeMissing": {
"type": "boolean",
"description": "Show items with no date as context. Default false."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "A time filter on a date field: only what is dated inside the window shows. It replaces the document's time filter; null removes it. An embed with chrome=time draws a time bar for it, and a host page moves it with the driver's setTimeFilter."
},
"edgeDirection": {
"enum": [
"line",
"tapered",
"arrow",
"flow"
],
"type": "string",
"description": "How links show their direction in a directed graph: arrow (arrowheads), tapered (each link narrows toward its target, the workbench default), flow (animated) or line (none)."
},
"tooltipTemplate": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "null"
}
],
"description": "Embed tooltip Markdown with {attribute} placeholders, e.g. \"### {label}\\n{role}\". null clears it."
},
"linkTooltipTemplate": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "null"
}
],
"description": "Embed hover card for links: the same Markdown over link attributes, plus {source} and {target} (the end nodes' labels), e.g. \"### {source} to {target}\\n{tasks} tasks\". A line that is only {@markdown field} renders that attribute's own lists and emphasis. Without it links get no card; null clears it."
}
},
"additionalProperties": false
}{
"title": "Style a Garphield graph",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}garphield_story — Write a Garphield story
Add, change or remove the scenes of a stored graph's Story: the steps the workbench's Story bar and an embed play through, each a saved view with a caption. A new scene starts from the document's view (as the style tool left it) and takes the same changes the style tool does: bindings, layout, edgeDirection, theme, appearance, structure (Group by, Backbone, merge) and timeFilter, plus a camera and a node to frame. An update applies its changes on top of that scene's view. remove runs first, then update, then add. Strict and atomic: if any part is invalid nothing is written. Example, one scene per year: {"doc": "...", "add": [{"caption": "2001", "timeFilter": {"field": "published", "to": "2001-12-31"}}, {"caption": "2002", "timeFilter": {"field": "published", "to": "2002-12-31"}}]}. The result lists every scene with its id. Call with only doc to list them. An embed opens on the first scene.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"doc"
],
"properties": {
"add": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Position in the story, from 0; default the end. Scenes are added in order."
},
"frame": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "A node id to centre and zoom on once the scene is shown; null clears it."
},
"theme": {
"anyOf": [
{
"enum": [
"light",
"dark",
"seafoam"
],
"type": "string"
},
{
"type": "null"
}
]
},
"camera": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y",
"ratio"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"angle": {
"type": "number"
},
"ratio": {
"type": "number",
"exclusiveMinimum": 0
}
},
"description": "Camera in the drawing's own frame, as the workbench's camera state: x and y from 0 to 1 across the drawing (0.5, 0.5 is its middle), ratio the zoom (1 shows it all, 0.25 four times closer), angle in radians.",
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Where the camera goes. Absent or null leaves it where the previous scene put it (the opening fit for the first)."
},
"layout": {
"enum": [
"force",
"levels",
"geo"
],
"type": "string"
},
"caption": {
"type": "string",
"maxLength": 500,
"description": "The scene's caption, shown in the Story bar."
},
"replace": {
"type": "boolean",
"description": "true replaces the scene's bindings with this list; false (default) merges by channel."
},
"bindings": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel"
],
"properties": {
"set": {
"type": "string",
"minLength": 1,
"description": "A set id saved in the document."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A data field by name (\"amount_bn\") or id (\"efield:amount_bn\"); a bare name resolves to the field on the channel's target."
},
"scale": {
"anyOf": [
{
"type": "object",
"required": [
"categories"
],
"properties": {
"missing": {
"type": "object",
"properties": {
"mark": {
"type": "string",
"description": "The mark for this value: a CSS colour (#rrggbb, rgb(), hsl()) for color, edgeColor, border, hull and contour; circle, square, triangle or diamond for shape; solid or dashed for edgeStyle; a glyph (text, inline <svg>, or image URL) for glyph."
},
"label": {
"type": "string",
"description": "What the legend shows for this value, instead of the value."
}
},
"description": "The mark and label for items with no value.",
"additionalProperties": false
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"mark": {
"type": "string",
"description": "The mark for this value: a CSS colour (#rrggbb, rgb(), hsl()) for color, edgeColor, border, hull and contour; circle, square, triangle or diamond for shape; solid or dashed for edgeStyle; a glyph (text, inline <svg>, or image URL) for glyph."
},
"label": {
"type": "string",
"description": "What the legend shows for this value, instead of the value."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "A data value, matched by its text form: 3 and \"3\" are the same value. A set binding's values are true (member) and false."
}
},
"additionalProperties": false
},
"description": "One entry per value, in legend order. Values not listed keep the default palette or shape cycle."
}
},
"description": "Marks and labels for a cat or set binding's values.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"domain",
"range"
],
"properties": {
"range": {
"anyOf": [
{
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
},
{
"type": "array",
"items": {
"type": "string"
},
"minItems": 2
}
],
"description": "Two lengths in px (size: node radius; edgeWidth: link width), or two or more CSS colours as ramp stops (color, edgeColor)."
},
"domain": {
"type": "array",
"description": "The data values that map to the two ends of the range. Values outside it are clamped.",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
}
},
"description": "A pinned domain and range for a num binding.",
"additionalProperties": false
}
],
"description": "Explicit marks for the binding's values. Omit it to use the defaults."
},
"levels": {
"type": "array",
"items": {
"type": "integer",
"maximum": 99,
"minimum": 1
},
"maxItems": 5,
"minItems": 1,
"description": "contour only: the regions to outline, as the share of each group's density each encloses (whole percentages); default [50, 75, 90]."
},
"params": {
"type": "object",
"description": "Algorithm params; each must be declared and in range.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"remove": {
"type": "boolean",
"const": true,
"description": "Unbind this channel. Pass only channel with it."
},
"source": {
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"kind": {
"enum": [
"algorithm",
"field",
"transform",
"set"
],
"type": "string"
},
"params": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"target": {
"enum": [
"node",
"edge"
],
"type": "string"
},
"temporal": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "instant"
}
},
"additionalProperties": false
}
},
"description": "The stored wire form instead of field/algorithm/set; requires resultType.",
"additionalProperties": false
},
"channel": {
"type": "string",
"minLength": 1,
"description": "Channel id, e.g. color, size, edgeWidth, edgeColor, hull."
},
"enabled": {
"type": "boolean"
},
"algorithm": {
"type": "string",
"minLength": 1,
"description": "A computed source id, e.g. degree, pagerank, louvain."
},
"bandwidth": {
"type": "number",
"maximum": 4,
"minimum": 0.25,
"description": "contour and heatmap only: kernel bandwidth as a multiple of the automatic one, half of Scott's rule on each group's spread (in kilometres on a Geo basemap). Under 1 separates tighter clusters; default 1."
},
"intensity": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "hull and heatmap only: drawing strength, 0-1."
},
"resultType": {
"enum": [
"num",
"cat",
"set",
"trf"
],
"type": "string",
"description": "Override the source's type, e.g. cat to colour a numeric field by value. Required with source."
}
},
"description": "One binding: a channel plus exactly one of field, algorithm, set or source; or a channel with remove.",
"additionalProperties": false
},
"description": "Bindings for this scene, in the style tool's form."
},
"structure": {
"type": "object",
"properties": {
"merge": {
"anyOf": [
{
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 4,
"minItems": 1,
"description": "Node fields; one merged node per value, each field once."
},
"label": {
"type": "string",
"maxLength": 400,
"description": "Label template over the merged fields: {field}, {members} (how many nodes merged), and {field by other} (field per value of other, joined \" → \"), e.g. \"{role} {tasks by side}\"."
},
"combine": {
"type": "object",
"description": "Rules per node or link field. Defaults: numbers sum, the size channel's field adds areas, categories keep the most common value, long text is listed.",
"propertyNames": {
"type": "string",
"minLength": 1
},
"additionalProperties": {
"enum": [
"sum",
"mean",
"min",
"max",
"area",
"first",
"mode",
"list"
],
"type": "string"
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Merge: one node per value of the fields, with the links between two merged nodes combined into one per direction. null turns it off."
},
"groups": {
"anyOf": [
{
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "A node field."
},
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "A categorical node algorithm: louvain, leiden, label_propagation, asyn_lpa, greedy_modularity, k_clique, spectral_bisection, kernighan_lin, connected_components."
},
"kind": {
"type": "string",
"const": "algorithm"
}
},
"description": "An algorithm's groups, written as a binding source: connected_components draws one ring per connected component, with isolated nodes in one ring.",
"additionalProperties": false
}
]
},
"maxItems": 4,
"description": "Levels, outer to inner, each once: node fields and algorithms, e.g. [{\"kind\": \"algorithm\", \"id\": \"connected_components\"}, \"team\"]; [] groups by nested Louvain communities."
},
"links": {
"enum": [
"none",
"inside",
"between",
"all"
],
"type": "string",
"description": "Links drawn besides those at hovered or selected nodes: none (default), inside (within the innermost group) or all (faded)."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Group by: nodes drawn as dots in nested rings, one ring per value. null turns it off."
},
"backbone": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"enum": [
"auto",
"faded",
"hidden"
],
"type": "string",
"description": "How links outside the Backbone draw: auto (default), faded or hidden."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Backbone: only the links that carry the structure. The workbench draws it where it can build one for the graph. null turns it off."
}
},
"description": "How the workbench and embeds draw the graph on open: Group by, Backbone and merge. Each part changes only what is given. A merge draws with neither groups nor the Backbone: turning it on turns them off, and turning either on turns it off. The network and its positions are unchanged.",
"additionalProperties": false
},
"appearance": {
"anyOf": [
{
"type": "object",
"properties": {
"nodeGap": {
"type": "number",
"maximum": 8,
"minimum": 0,
"description": "Pixels kept clear between nodes. 0 to 8; default 2."
},
"nodeSize": {
"type": "number",
"maximum": 2.5,
"minimum": 0.5,
"description": "Multiplies every node's drawn size. 0.5 to 2.5; default 1."
},
"arrowSize": {
"type": "number",
"maximum": 3,
"minimum": 0.5,
"description": "Arrowhead size, for flow links. 0.5 to 3; default 2."
},
"curvature": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "How far links bend, from 0 (straight) to 100. 0 to 100; default 0."
},
"linkWidth": {
"type": "number",
"maximum": 8,
"minimum": 0.1,
"description": "Multiplies every link's drawn width. 0.1 to 8; default 1."
},
"labelBudget": {
"type": "number",
"maximum": 10,
"minimum": 0.5,
"description": "Label density: how many node labels show at once. 0.5 to 10; default 1."
},
"linkOpacity": {
"type": "number",
"maximum": 2,
"minimum": 0.05,
"description": "Multiplies link opacity; under 1 is fainter. 0.05 to 2; default 1."
},
"linkOutline": {
"type": "number",
"maximum": 20,
"minimum": 0,
"description": "Link outline width in pixels. 0 to 20; default 2."
},
"labelPlacement": {
"enum": [
"beside",
"center",
"text"
],
"type": "string",
"description": "Node labels beside the node (default), centred on it, or text: each node drawn as its label in a box sized to the text, for concept maps."
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"timeFilter": {
"anyOf": [
{
"type": "object",
"required": [
"field"
],
"properties": {
"to": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
],
"description": "End of the window, inclusive. Default: the field's latest date, so every dated item shows."
},
"from": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
],
"description": "A date: YYYY-MM-DD (UTC midnight), an RFC3339 timestamp with a timezone, or epoch milliseconds."
},
{
"type": "null"
}
],
"description": "Start of the window, inclusive; absent or null for none."
},
"mode": {
"enum": [
"hide",
"fade"
],
"type": "string",
"description": "hide (default) leaves out what falls outside the window; fade dims it."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A date field, by name (\"published\") or id (\"field:published\", \"efield:sent\"): one whose values are YYYY-MM-DD dates or RFC3339 timestamps, which inspect lists as (date)."
},
"includeMissing": {
"type": "boolean",
"description": "Show items with no date as context. Default false."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "A time filter on a date field: only what is dated inside the window shows. It replaces the document's time filter; null removes it. An embed with chrome=time draws a time bar for it, and a host page moves it with the driver's setTimeFilter."
},
"edgeDirection": {
"enum": [
"line",
"tapered",
"arrow",
"flow"
],
"type": "string"
}
},
"description": "A new scene: the document's view (bindings, filters, structure, style) with these changes.",
"additionalProperties": false
},
"maxItems": 50,
"description": "Scenes to add. Runs last."
},
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"remove": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Ids of scenes to remove. Runs first."
},
"update": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The scene's id, from an earlier result."
},
"frame": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "A node id to centre and zoom on once the scene is shown; null clears it."
},
"theme": {
"anyOf": [
{
"enum": [
"light",
"dark",
"seafoam"
],
"type": "string"
},
{
"type": "null"
}
]
},
"camera": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y",
"ratio"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"angle": {
"type": "number"
},
"ratio": {
"type": "number",
"exclusiveMinimum": 0
}
},
"description": "Camera in the drawing's own frame, as the workbench's camera state: x and y from 0 to 1 across the drawing (0.5, 0.5 is its middle), ratio the zoom (1 shows it all, 0.25 four times closer), angle in radians.",
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Where the camera goes. Absent or null leaves it where the previous scene put it (the opening fit for the first)."
},
"layout": {
"enum": [
"force",
"levels",
"geo"
],
"type": "string"
},
"caption": {
"type": "string",
"maxLength": 500,
"description": "The scene's caption, shown in the Story bar."
},
"replace": {
"type": "boolean",
"description": "true replaces the scene's bindings with this list; false (default) merges by channel."
},
"bindings": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel"
],
"properties": {
"set": {
"type": "string",
"minLength": 1,
"description": "A set id saved in the document."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A data field by name (\"amount_bn\") or id (\"efield:amount_bn\"); a bare name resolves to the field on the channel's target."
},
"scale": {
"anyOf": [
{
"type": "object",
"required": [
"categories"
],
"properties": {
"missing": {
"type": "object",
"properties": {
"mark": {
"type": "string",
"description": "The mark for this value: a CSS colour (#rrggbb, rgb(), hsl()) for color, edgeColor, border, hull and contour; circle, square, triangle or diamond for shape; solid or dashed for edgeStyle; a glyph (text, inline <svg>, or image URL) for glyph."
},
"label": {
"type": "string",
"description": "What the legend shows for this value, instead of the value."
}
},
"description": "The mark and label for items with no value.",
"additionalProperties": false
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"mark": {
"type": "string",
"description": "The mark for this value: a CSS colour (#rrggbb, rgb(), hsl()) for color, edgeColor, border, hull and contour; circle, square, triangle or diamond for shape; solid or dashed for edgeStyle; a glyph (text, inline <svg>, or image URL) for glyph."
},
"label": {
"type": "string",
"description": "What the legend shows for this value, instead of the value."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "A data value, matched by its text form: 3 and \"3\" are the same value. A set binding's values are true (member) and false."
}
},
"additionalProperties": false
},
"description": "One entry per value, in legend order. Values not listed keep the default palette or shape cycle."
}
},
"description": "Marks and labels for a cat or set binding's values.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"domain",
"range"
],
"properties": {
"range": {
"anyOf": [
{
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
},
{
"type": "array",
"items": {
"type": "string"
},
"minItems": 2
}
],
"description": "Two lengths in px (size: node radius; edgeWidth: link width), or two or more CSS colours as ramp stops (color, edgeColor)."
},
"domain": {
"type": "array",
"description": "The data values that map to the two ends of the range. Values outside it are clamped.",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
}
},
"description": "A pinned domain and range for a num binding.",
"additionalProperties": false
}
],
"description": "Explicit marks for the binding's values. Omit it to use the defaults."
},
"levels": {
"type": "array",
"items": {
"type": "integer",
"maximum": 99,
"minimum": 1
},
"maxItems": 5,
"minItems": 1,
"description": "contour only: the regions to outline, as the share of each group's density each encloses (whole percentages); default [50, 75, 90]."
},
"params": {
"type": "object",
"description": "Algorithm params; each must be declared and in range.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"remove": {
"type": "boolean",
"const": true,
"description": "Unbind this channel. Pass only channel with it."
},
"source": {
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"kind": {
"enum": [
"algorithm",
"field",
"transform",
"set"
],
"type": "string"
},
"params": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"target": {
"enum": [
"node",
"edge"
],
"type": "string"
},
"temporal": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "instant"
}
},
"additionalProperties": false
}
},
"description": "The stored wire form instead of field/algorithm/set; requires resultType.",
"additionalProperties": false
},
"channel": {
"type": "string",
"minLength": 1,
"description": "Channel id, e.g. color, size, edgeWidth, edgeColor, hull."
},
"enabled": {
"type": "boolean"
},
"algorithm": {
"type": "string",
"minLength": 1,
"description": "A computed source id, e.g. degree, pagerank, louvain."
},
"bandwidth": {
"type": "number",
"maximum": 4,
"minimum": 0.25,
"description": "contour and heatmap only: kernel bandwidth as a multiple of the automatic one, half of Scott's rule on each group's spread (in kilometres on a Geo basemap). Under 1 separates tighter clusters; default 1."
},
"intensity": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "hull and heatmap only: drawing strength, 0-1."
},
"resultType": {
"enum": [
"num",
"cat",
"set",
"trf"
],
"type": "string",
"description": "Override the source's type, e.g. cat to colour a numeric field by value. Required with source."
}
},
"description": "One binding: a channel plus exactly one of field, algorithm, set or source; or a channel with remove.",
"additionalProperties": false
},
"description": "Bindings for this scene, in the style tool's form."
},
"structure": {
"type": "object",
"properties": {
"merge": {
"anyOf": [
{
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 4,
"minItems": 1,
"description": "Node fields; one merged node per value, each field once."
},
"label": {
"type": "string",
"maxLength": 400,
"description": "Label template over the merged fields: {field}, {members} (how many nodes merged), and {field by other} (field per value of other, joined \" → \"), e.g. \"{role} {tasks by side}\"."
},
"combine": {
"type": "object",
"description": "Rules per node or link field. Defaults: numbers sum, the size channel's field adds areas, categories keep the most common value, long text is listed.",
"propertyNames": {
"type": "string",
"minLength": 1
},
"additionalProperties": {
"enum": [
"sum",
"mean",
"min",
"max",
"area",
"first",
"mode",
"list"
],
"type": "string"
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Merge: one node per value of the fields, with the links between two merged nodes combined into one per direction. null turns it off."
},
"groups": {
"anyOf": [
{
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "A node field."
},
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "A categorical node algorithm: louvain, leiden, label_propagation, asyn_lpa, greedy_modularity, k_clique, spectral_bisection, kernighan_lin, connected_components."
},
"kind": {
"type": "string",
"const": "algorithm"
}
},
"description": "An algorithm's groups, written as a binding source: connected_components draws one ring per connected component, with isolated nodes in one ring.",
"additionalProperties": false
}
]
},
"maxItems": 4,
"description": "Levels, outer to inner, each once: node fields and algorithms, e.g. [{\"kind\": \"algorithm\", \"id\": \"connected_components\"}, \"team\"]; [] groups by nested Louvain communities."
},
"links": {
"enum": [
"none",
"inside",
"between",
"all"
],
"type": "string",
"description": "Links drawn besides those at hovered or selected nodes: none (default), inside (within the innermost group) or all (faded)."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Group by: nodes drawn as dots in nested rings, one ring per value. null turns it off."
},
"backbone": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"enum": [
"auto",
"faded",
"hidden"
],
"type": "string",
"description": "How links outside the Backbone draw: auto (default), faded or hidden."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Backbone: only the links that carry the structure. The workbench draws it where it can build one for the graph. null turns it off."
}
},
"description": "How the workbench and embeds draw the graph on open: Group by, Backbone and merge. Each part changes only what is given. A merge draws with neither groups nor the Backbone: turning it on turns them off, and turning either on turns it off. The network and its positions are unchanged.",
"additionalProperties": false
},
"appearance": {
"anyOf": [
{
"type": "object",
"properties": {
"nodeGap": {
"type": "number",
"maximum": 8,
"minimum": 0,
"description": "Pixels kept clear between nodes. 0 to 8; default 2."
},
"nodeSize": {
"type": "number",
"maximum": 2.5,
"minimum": 0.5,
"description": "Multiplies every node's drawn size. 0.5 to 2.5; default 1."
},
"arrowSize": {
"type": "number",
"maximum": 3,
"minimum": 0.5,
"description": "Arrowhead size, for flow links. 0.5 to 3; default 2."
},
"curvature": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "How far links bend, from 0 (straight) to 100. 0 to 100; default 0."
},
"linkWidth": {
"type": "number",
"maximum": 8,
"minimum": 0.1,
"description": "Multiplies every link's drawn width. 0.1 to 8; default 1."
},
"labelBudget": {
"type": "number",
"maximum": 10,
"minimum": 0.5,
"description": "Label density: how many node labels show at once. 0.5 to 10; default 1."
},
"linkOpacity": {
"type": "number",
"maximum": 2,
"minimum": 0.05,
"description": "Multiplies link opacity; under 1 is fainter. 0.05 to 2; default 1."
},
"linkOutline": {
"type": "number",
"maximum": 20,
"minimum": 0,
"description": "Link outline width in pixels. 0 to 20; default 2."
},
"labelPlacement": {
"enum": [
"beside",
"center",
"text"
],
"type": "string",
"description": "Node labels beside the node (default), centred on it, or text: each node drawn as its label in a box sized to the text, for concept maps."
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"timeFilter": {
"anyOf": [
{
"type": "object",
"required": [
"field"
],
"properties": {
"to": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
],
"description": "End of the window, inclusive. Default: the field's latest date, so every dated item shows."
},
"from": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number"
}
],
"description": "A date: YYYY-MM-DD (UTC midnight), an RFC3339 timestamp with a timezone, or epoch milliseconds."
},
{
"type": "null"
}
],
"description": "Start of the window, inclusive; absent or null for none."
},
"mode": {
"enum": [
"hide",
"fade"
],
"type": "string",
"description": "hide (default) leaves out what falls outside the window; fade dims it."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A date field, by name (\"published\") or id (\"field:published\", \"efield:sent\"): one whose values are YYYY-MM-DD dates or RFC3339 timestamps, which inspect lists as (date)."
},
"includeMissing": {
"type": "boolean",
"description": "Show items with no date as context. Default false."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "A time filter on a date field: only what is dated inside the window shows. It replaces the document's time filter; null removes it. An embed with chrome=time draws a time bar for it, and a host page moves it with the driver's setTimeFilter."
},
"edgeDirection": {
"enum": [
"line",
"tapered",
"arrow",
"flow"
],
"type": "string"
}
},
"description": "Changes to one scene's view, applied on top of that scene.",
"additionalProperties": false
}
}
},
"additionalProperties": false
}{
"title": "Write a Garphield story",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}garphield_focus — Highlight or focus part of a Garphield graph
Save named sets of nodes and focus the view on them; the app, share links, embeds and PNG exports all show the result. A set comes from exactly one of: nodes (ids), edges ([source, target] pairs, kept as their endpoints), path (a shortest path from one node to another), top (the k highest or lowest by a field or algorithm such as degree), or match (a range, values, or one node's value of a field or algorithm, e.g. a louvain community). filters fade (default) or hide everything outside a set ({"set": "path"}) or outside a range or values of a field or algorithm. mark rings a set's nodes. clear empties the filters, or with "all" every set too. Example, highlight a path: {"sets": [{"id": "route", "path": {"from": "a", "to": "e"}}], "filters": [{"set": "route"}]}. Show only the top 20 by degree: {"sets": [{"id": "hubs", "top": {"algorithm": "degree", "k": 20}}], "filters": [{"set": "hubs", "mode": "hide"}]}. Strict and atomic: if anything is invalid nothing is written, and each problem comes back with a path and suggestions (unknown node ids suggest near ids and nodes with that label).
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"doc"
],
"properties": {
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"mark": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "Ring this set's nodes (the border channel bound to the set). null removes a set ring."
},
"sets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[\\w.:-]{1,64}$",
"description": "The set's id (letters, digits, _ . : -). An existing id is replaced."
},
"top": {
"type": "object",
"required": [
"k"
],
"properties": {
"k": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "How many to keep."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A data field by name (\"role\") or id (\"field:role\", \"efield:amount_bn\"); a bare name resolves to the node field first."
},
"order": {
"enum": [
"highest",
"lowest"
],
"type": "string",
"description": "highest (default) or lowest values first."
},
"params": {
"type": "object",
"description": "Algorithm params; each must be declared and in range.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"algorithm": {
"type": "string",
"minLength": 1,
"description": "A computed source id, e.g. degree, pagerank, betweenness, louvain."
}
},
"description": "The k nodes (or the endpoints of the k links, for an edge source) with the highest or lowest values.",
"additionalProperties": false
},
"note": {
"type": "string",
"maxLength": 4000
},
"path": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"maxLength": 1024,
"minLength": 1
},
"from": {
"type": "string",
"maxLength": 1024,
"minLength": 1
}
},
"description": "The nodes on a shortest path, following link direction on a directed graph.",
"additionalProperties": false
},
"edges": {
"type": "array",
"items": {
"type": "array",
"prefixItems": [
{
"type": "string",
"maxLength": 1024,
"minLength": 1
},
{
"type": "string",
"maxLength": 1024,
"minLength": 1
}
]
},
"maxItems": 10000,
"minItems": 1,
"description": "The endpoints of these links, each a [source, target] pair of node ids."
},
"label": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"match": {
"type": "object",
"properties": {
"node": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Keep the value this node has, e.g. {\"algorithm\": \"louvain\", \"node\": \"valjean\"} for that node's community."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A data field by name (\"role\") or id (\"field:role\", \"efield:amount_bn\"); a bare name resolves to the node field first."
},
"range": {
"type": "object",
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"description": "Numeric sources: keep values from min to max inclusive. An omitted bound is the source's own minimum or maximum.",
"additionalProperties": false
},
"params": {
"type": "object",
"description": "Algorithm params; each must be declared and in range.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"values": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"maxItems": 500,
"minItems": 1,
"description": "Categorical sources (or a numeric field read as categories): keep these values. Community ids are numbers from 0."
},
"algorithm": {
"type": "string",
"minLength": 1,
"description": "A computed source id, e.g. degree, pagerank, betweenness, louvain."
}
},
"description": "The nodes whose value meets one criterion: a range, values, or the value of a node.",
"additionalProperties": false
},
"nodes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1024,
"minLength": 1
},
"maxItems": 10000,
"minItems": 1,
"description": "These node ids."
},
"remove": {
"type": "boolean",
"const": true,
"description": "Delete the set. Pass only id with it."
}
},
"description": "Create or replace a named set from exactly one of nodes, edges, path, top or match; or remove one.",
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"clear": {
"enum": [
"filters",
"all"
],
"type": "string",
"description": "Applied first. \"filters\" empties the filter stack; \"all\" also deletes every set and every binding that reads one."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Filter entry id. Default \"focus-<set id>\" or \"focus-<source id>\"; an existing id is replaced."
},
"set": {
"type": "string",
"minLength": 1,
"description": "Keep the members of this set (saved or defined in this call)."
},
"mode": {
"enum": [
"fade",
"hide"
],
"type": "string",
"description": "fade (default) dims what the filter drops; hide removes it from the drawing."
},
"node": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Keep the value this node has, e.g. {\"algorithm\": \"louvain\", \"node\": \"valjean\"} for that node's community."
},
"field": {
"type": "string",
"minLength": 1,
"description": "A data field by name (\"role\") or id (\"field:role\", \"efield:amount_bn\"); a bare name resolves to the node field first."
},
"range": {
"type": "object",
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"description": "Numeric sources: keep values from min to max inclusive. An omitted bound is the source's own minimum or maximum.",
"additionalProperties": false
},
"params": {
"type": "object",
"description": "Algorithm params; each must be declared and in range.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"remove": {
"type": "boolean",
"const": true,
"description": "Delete the filter entry with this id. Pass only id with it."
},
"values": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"maxItems": 500,
"minItems": 1,
"description": "Categorical sources (or a numeric field read as categories): keep these values. Community ids are numbers from 0."
},
"algorithm": {
"type": "string",
"minLength": 1,
"description": "A computed source id, e.g. degree, pagerank, betweenness, louvain."
}
},
"description": "Keep a set, or keep what one criterion on a field or algorithm selects; fade or hide the rest.",
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Merged into the filter stack by id."
}
},
"additionalProperties": false
}{
"title": "Highlight or focus part of a Garphield graph",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}garphield_layout — Lay out a Garphield graph
Compute and save node positions for a stored graph with the workbench's own layout recipes, and grade the result with its quality gate. Optional: a graph without positions is laid out by the browser when it opens. Use this to bake positions (for a gallery file or a stable share) or to get a quality grade. Reports which engine ran. Large graphs over the host's budget return LAYOUT_TOO_LARGE; clear: true removes saved positions. preview: true also returns a small image of the result, to check for overlaps, tangles and unreadable labels against the grade's findings; it adds a render (10-20 s on the hosted server), so ask for it when you mean to look.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"doc"
],
"properties": {
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"mode": {
"enum": [
"force",
"levels",
"geo"
],
"type": "string",
"description": "force (production Blend, or ForceAtlas2 for large graphs), levels (layered bands, or a tidy tree with levels.style tree), or geo (the browser places nodes by their coordinate fields). Default: the document's layout, else force."
},
"clear": {
"type": "boolean",
"const": true,
"description": "Remove saved positions instead, so the browser lays the graph out when it opens. Pass only doc with it."
},
"aspect": {
"type": "number",
"maximum": 4,
"minimum": 0.25,
"description": "Width over height of the frame to fit. Default 1.6."
},
"levels": {
"type": "object",
"properties": {
"roots": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "Node ids for the top level."
},
"style": {
"enum": [
"layered",
"tree"
],
"type": "string",
"description": "layered (default) bands every node by level; tree draws a tidy tree, an organisation chart: each node under one parent, wide sets of leaves wrapped into rows or columns, links as elbows. A graph that is not a tree is drawn from a spanning tree, its other links as curves."
},
"direction": {
"enum": [
"down",
"right"
],
"type": "string",
"description": "tree only: down (default) or right."
},
"levelAttribute": {
"type": "string",
"minLength": 1,
"description": "A numeric node field that orders the levels."
}
},
"description": "levels mode only.",
"additionalProperties": false
},
"preview": {
"type": "boolean",
"description": "true returns a 600x400 image of the saved graph, so you can check it for overlapping nodes, tangles and unreadable labels and fix them. A render can take 10-20 s and counts toward the host's image limit; the change is saved even when no preview can be made. Default false."
}
},
"additionalProperties": false
}{
"title": "Lay out a Garphield graph",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": true
}garphield_validate — Validate a Garphield document
Check a stored document (doc) or a raw .gph document (document) the way the workbench would load it, strictly: the schema, the graph, every binding against the graph's fields and the channel rules, and the filter stack. Returns ok, errors (code, path, message, expected, suggestions) and warnings such as UNLAID (no saved positions) and TEMPLATE_SENDS_FIELDS (a card template puts field values in a URL on another host).
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"document": {
"type": "object",
"description": "A whole .gph document as JSON, for callers who wrote one themselves.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": false
}{
"title": "Validate a Garphield document",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}garphield_share — Share a Garphield graph
Get links that open a stored graph in the Garphield workbench and in its embeddable view, plus an iframe snippet. Depending on the host the link points at the stored document (anyone with the link can open it, until expiresAt), carries the whole document in the URL (selfContained), or, in the workbench, carries just the view of a built-in sample or generator. Rendering happens in the viewer's browser; a graph without saved positions is laid out when it opens.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"doc"
],
"properties": {
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"theme": {
"enum": [
"light",
"dark",
"seafoam"
],
"type": "string",
"description": "Embed theme. Default: the document's theme, if it has one."
},
"chrome": {
"type": "array",
"items": {
"enum": [
"toolbar",
"minimap",
"search",
"legend",
"legend:open",
"legend:closed",
"tooltip",
"tooltip:hover",
"tooltip:select",
"time",
"time:open",
"time:closed",
"-wordmark"
],
"type": "string"
},
"description": "Embed controls to show. Omitted: the embed's defaults. -wordmark takes the link off the Garphield wordmark; the mark stays."
},
"target": {
"enum": [
"app",
"embed"
],
"type": "string",
"description": "Which link `url` is: the full workbench (\"app\", default) or the chromeless embed."
}
},
"additionalProperties": false
}{
"title": "Share a Garphield graph",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}garphield_export — Export a Garphield graph
Export a stored graph as a .gph project (with its view config and positions), as node-link JSON, GEXF, GraphML or GML, or as a PNG where the host can render. Text formats come back inline up to the host's result limit; gph also reports where the stored file is, when the host has a location. The export is a frozen copy: later style or layout calls do not change it. Where the host stores images, a png export is also kept as the document's preview image.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"doc",
"format"
],
"properties": {
"doc": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Document reference: a stored document id, a file path, or \"current\" in the workbench."
},
"width": {
"type": "integer",
"maximum": 4096,
"minimum": 64,
"description": "png only."
},
"format": {
"enum": [
"gph",
"nodeLink",
"gexf",
"graphml",
"gml",
"png"
],
"type": "string",
"description": "gph is the full Garphield project; nodeLink, gexf, graphml and gml carry the graph and its attributes; png is an image where the host can render one."
},
"height": {
"type": "integer",
"maximum": 4096,
"minimum": 64,
"description": "png only."
},
"inline": {
"type": "boolean",
"description": "gph only: false returns just the stored location and size, without the text. Default true."
}
},
"additionalProperties": false
}{
"title": "Export a Garphield graph",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Prompts
Not advertised
Resources
1 advertised
Garphield graph view — Garphield graph view
Inline view for garphield_share: the interactive graph where the host allows Garphield's scripts, else a summary with a link.
ui://garphield/share-view.html90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
- 2026-11-30: 4 of 4 checks answered
- 2026-12-01: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 809 ms
- 95th percentile latency
- 1100 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1132 ms · metadata changed · 9 tool(s), 1 resource(s), 0 resource template(s)
- · probe · passed · 486 ms · metadata changed · 8 tool(s), 1 resource(s), 0 resource template(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http garphield-mcp https://mcp.garphield.com/mcpCodex
codex mcp add garphield-mcp --url https://mcp.garphield.com/mcpCursor
{
"mcpServers": {
"garphield-mcp": {
"url": "https://mcp.garphield.com/mcp"
}
}
}Cline
{
"mcpServers": {
"garphield-mcp": {
"type": "streamableHttp",
"url": "https://mcp.garphield.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"garphield-mcp": {
"type": "http",
"url": "https://mcp.garphield.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http garphield-mcp https://mcp.garphield.com/mcpClaude Desktop
https://mcp.garphield.com/mcpWindsurf
{
"mcpServers": {
"garphield-mcp": {
"serverUrl": "https://mcp.garphield.com/mcp"
}
}
}Let your agent find its tools
Find servers like Garphield MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run Garphield MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.