io.roadflow/roadflow is an MCP server published by io.roadflow, hosted at roadflow.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 43 tools, including roadflow_new, roadflow_status, roadflow_get, roadflow_apply_json, roadflow_apply_markup.
Create and edit roadmaps with JSON or markup; share edit and view links from AI agents.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Create an ephemeral in-memory roadflow workspace (default). Optional seed JSON and/or markup. No cloud id until create_shared.
| Parameter | Type | Description |
|---|---|---|
| json | any | Optional seed state (same shape as serializeState) |
| markup | string | Optional friendly markup to apply after seed/empty |
{
"name": "roadflow_new",
"title": "New roadflow workspace",
"description": "Create an ephemeral in-memory roadflow workspace (default). Optional seed JSON and/or markup. No cloud id until create_shared.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"json": {
"description": "Optional seed state (same shape as serializeState)"
},
"markup": {
"type": "string",
"description": "Optional friendly markup to apply after seed/empty"
}
},
"additionalProperties": false
}
}None yet. Changes appear after a server's second daily check.
Return mode, ids, URLs, and road/step counts for the current MCP session workspace.
No parameters.
{
"name": "roadflow_status",
"title": "Workspace status",
"description": "Return mode, ids, URLs, and road/step counts for the current MCP session workspace.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Return the current workspace as JSON and/or markup.
| Parameter | Type | Description |
|---|---|---|
| format | string | Default both |
{
"name": "roadflow_get",
"title": "Get workspace snapshot",
"description": "Return the current workspace as JSON and/or markup.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"format": {
"enum": [
"json",
"markup",
"both"
],
"type": "string",
"description": "Default both"
}
},
"additionalProperties": false
}
}Replace workspace state with normalized JSON (serializeState shape). In shared edit mode, saves to the cloud automatically.
| Parameter | Type | Description |
|---|---|---|
| json | any | Full or partial map state object, or JSON string |
| merge | boolean | If true, deep-ish merge timeline/display and replace roads from payload |
{
"name": "roadflow_apply_json",
"title": "Apply JSON state",
"description": "Replace workspace state with normalized JSON (serializeState shape). In shared edit mode, saves to the cloud automatically.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"json": {
"description": "Full or partial map state object, or JSON string"
},
"merge": {
"type": "boolean",
"description": "If true, deep-ish merge timeline/display and replace roads from payload"
}
},
"additionalProperties": false
}
}Replace roads via friendly markup (same as the editor panel). Shared edit mode auto-saves.
| Parameter | Type | Description |
|---|---|---|
| markup * | string | Friendly roadflow markup text |
{
"name": "roadflow_apply_markup",
"title": "Apply markup",
"description": "Replace roads via friendly markup (same as the editor panel). Shared edit mode auto-saves.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"markup"
],
"properties": {
"markup": {
"type": "string",
"description": "Friendly roadflow markup text"
}
},
"additionalProperties": false
}
}Load a cloud map by edit or view id into this session. View links are read-only.
| Parameter | Type | Description |
|---|---|---|
| id * | string | editId or viewId from a share URL (?id=…) |
{
"name": "roadflow_open_shared",
"title": "Open shared roadflow",
"description": "Load a cloud map by edit or view id into this session. View links are read-only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "editId or viewId from a share URL (?id=…)"
}
},
"additionalProperties": false
}
}Persist the current workspace to the cloud (permanent share). Returns editUrl (play/edit/share further) and viewUrl (visual canvas, read-only). Prefer viewUrl when the user only needs to see the map.
| Parameter | Type | Description |
|---|---|---|
| editId | string | Optional edit id (default: random rm-…) |
| viewId | string | Optional view id (default: random rm-…) |
{
"name": "roadflow_create_shared",
"title": "Create shared roadflow",
"description": "Persist the current workspace to the cloud (permanent share). Returns editUrl (play/edit/share further) and viewUrl (visual canvas, read-only). Prefer viewUrl when the user only needs to see the map.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"editId": {
"type": "string",
"description": "Optional edit id (default: random rm-…)"
},
"viewId": {
"type": "string",
"description": "Optional view id (default: random rm-…)"
}
},
"additionalProperties": false
}
}Export the current workspace as JSON (serializeState).
No parameters.
{
"name": "roadflow_export_json",
"title": "Export JSON",
"description": "Export the current workspace as JSON (serializeState).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Export the current workspace as friendly markup.
No parameters.
{
"name": "roadflow_export_markup",
"title": "Export markup",
"description": "Export the current workspace as friendly markup.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Export steps as CSV (road, goal, lane, step, notes, type, status, position, date).
No parameters.
{
"name": "roadflow_export_csv",
"title": "Export CSV",
"description": "Export steps as CSV (road, goal, lane, step, notes, type, status, position, date).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}List shared-map version checkpoints (newest first). Relative indexes: -1 = newest. Requires a shared edit workspace (not view-only).
No parameters.
{
"name": "roadflow_list_versions",
"title": "List version history",
"description": "List shared-map version checkpoints (newest first). Relative indexes: -1 = newest. Requires a shared edit workspace (not view-only).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Load one shared-map version by relative index (e.g. -1 newest, -2 previous). Returns JSON state. Does not change the live map or workspace unless load=true.
| Parameter | Type | Description |
|---|---|---|
| rel * | integer | Relative version index: -1 = newest checkpoint, -2 = older, … |
| load | boolean | If true, also replace the current MCP workspace with this version (does not save to cloud). |
{
"name": "roadflow_get_version",
"title": "Get version snapshot",
"description": "Load one shared-map version by relative index (e.g. -1 newest, -2 previous). Returns JSON state. Does not change the live map or workspace unless load=true.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"rel"
],
"properties": {
"rel": {
"type": "integer",
"description": "Relative version index: -1 = newest checkpoint, -2 = older, …",
"exclusiveMaximum": 0
},
"load": {
"type": "boolean",
"description": "If true, also replace the current MCP workspace with this version (does not save to cloud)."
}
},
"additionalProperties": false
}
}Clear the in-memory workspace for this MCP session (does not delete cloud maps).
No parameters.
{
"name": "roadflow_discard",
"title": "Discard workspace",
"description": "Clear the in-memory workspace for this MCP session (does not delete cloud maps).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Create an ephemeral in-memory Artifacts graph workspace. Optional seed JSON (serializeState shape: nodes + labels). No cloud id until artifacts_create_shared.
| Parameter | Type | Description |
|---|---|---|
| json | any | Optional seed graph state |
{
"name": "artifacts_new",
"title": "New Artifacts workspace",
"description": "Create an ephemeral in-memory Artifacts graph workspace. Optional seed JSON (serializeState shape: nodes + labels). No cloud id until artifacts_create_shared.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"json": {
"description": "Optional seed graph state"
}
},
"additionalProperties": false
}
}Return mode, ids, /artifacts/?id= URLs, and node/label counts.
No parameters.
{
"name": "artifacts_status",
"title": "Artifacts workspace status",
"description": "Return mode, ids, /artifacts/?id= URLs, and node/label counts.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Return the current Artifacts workspace as JSON.
No parameters.
{
"name": "artifacts_get",
"title": "Get Artifacts graph",
"description": "Return the current Artifacts workspace as JSON.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Replace (or merge) the Artifacts graph with normalized JSON. Shared edit mode auto-saves to the cloud.
| Parameter | Type | Description |
|---|---|---|
| json | any | Full or partial graph state, or JSON string |
| merge | boolean | If true, merge nodes/labels arrays from payload onto current state |
{
"name": "artifacts_apply_json",
"title": "Apply Artifacts JSON",
"description": "Replace (or merge) the Artifacts graph with normalized JSON. Shared edit mode auto-saves to the cloud.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"json": {
"description": "Full or partial graph state, or JSON string"
},
"merge": {
"type": "boolean",
"description": "If true, merge nodes/labels arrays from payload onto current state"
}
},
"additionalProperties": false
}
}Load a cloud Artifacts graph by edit or view id. View links are read-only.
| Parameter | Type | Description |
|---|---|---|
| id * | string | editId or viewId from /artifacts/?id=… |
{
"name": "artifacts_open_shared",
"title": "Open shared Artifacts graph",
"description": "Load a cloud Artifacts graph by edit or view id. View links are read-only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "editId or viewId from /artifacts/?id=…"
}
},
"additionalProperties": false
}
}Persist the current Artifacts workspace to the cloud. Returns editUrl and viewUrl under /artifacts/.
| Parameter | Type | Description |
|---|---|---|
| editId | string | Optional edit id (default: random af-…) |
| viewId | string | Optional view id (default: random af-…) |
{
"name": "artifacts_create_shared",
"title": "Create shared Artifacts graph",
"description": "Persist the current Artifacts workspace to the cloud. Returns editUrl and viewUrl under /artifacts/.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"editId": {
"type": "string",
"description": "Optional edit id (default: random af-…)"
},
"viewId": {
"type": "string",
"description": "Optional view id (default: random af-…)"
}
},
"additionalProperties": false
}
}Export the current Artifacts workspace as JSON (serializeState).
No parameters.
{
"name": "artifacts_export_json",
"title": "Export Artifacts JSON",
"description": "Export the current Artifacts workspace as JSON (serializeState).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}List shared Artifacts version checkpoints (newest first). Requires a shared edit workspace.
No parameters.
{
"name": "artifacts_list_versions",
"title": "List Artifacts version history",
"description": "List shared Artifacts version checkpoints (newest first). Requires a shared edit workspace.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Load one shared Artifacts version by relative index (-1 newest). Optional load=true replaces the MCP workspace (does not save).
| Parameter | Type | Description |
|---|---|---|
| rel * | integer | Relative version index: -1 = newest checkpoint |
| load | boolean | If true, replace the current MCP Artifacts workspace with this version |
{
"name": "artifacts_get_version",
"title": "Get Artifacts version snapshot",
"description": "Load one shared Artifacts version by relative index (-1 newest). Optional load=true replaces the MCP workspace (does not save).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"rel"
],
"properties": {
"rel": {
"type": "integer",
"description": "Relative version index: -1 = newest checkpoint",
"exclusiveMaximum": 0
},
"load": {
"type": "boolean",
"description": "If true, replace the current MCP Artifacts workspace with this version"
}
},
"additionalProperties": false
}
}Clear the in-memory Artifacts workspace for this MCP session (does not delete cloud graphs or the Plans workspace).
No parameters.
{
"name": "artifacts_discard",
"title": "Discard Artifacts workspace",
"description": "Clear the in-memory Artifacts workspace for this MCP session (does not delete cloud graphs or the Plans workspace).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Create a Model project in MySQL (parameter register). Allocates a view id (mv-…) when omitted and returns viewUrl. Optional seed: title, calendar, streams, axes, phases, parameterSets, chains, parameters, observations, edges. Does not persist CALC outputs or FORMULA edges. Binds this MCP session. UI: /model/?id=…
| Parameter | Type | Description |
|---|---|---|
| axes | array | |
| edges | array | Manual SOURCE/FLOW/INTERFACE only |
| title | string | |
| chains | array | |
| phases | array | |
| viewId | string | |
| streams | array | |
| calendar | any | { granularity, start, end } |
| parameters | array | Catalog rows (parameterId, streamId, role, formula, attrs, …) |
| observations | array | Facts: parameterId, scope, setId, value, evidence, source |
| parameterSets | array |
{
"name": "model_new",
"title": "New Model register",
"description": "Create a Model project in MySQL (parameter register). Allocates a view id (mv-…) when omitted and returns viewUrl. Optional seed: title, calendar, streams, axes, phases, parameterSets, chains, parameters, observations, edges. Does not persist CALC outputs or FORMULA edges. Binds this MCP session. UI: /model/?id=…",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"axes": {
"type": "array"
},
"edges": {
"type": "array",
"description": "Manual SOURCE/FLOW/INTERFACE only"
},
"title": {
"type": "string"
},
"chains": {
"type": "array"
},
"phases": {
"type": "array"
},
"viewId": {
"type": "string"
},
"streams": {
"type": "array"
},
"calendar": {
"description": "{ granularity, start, end }"
},
"parameters": {
"type": "array",
"description": "Catalog rows (parameterId, streamId, role, formula, attrs, …)"
},
"observations": {
"type": "array",
"description": "Facts: parameterId, scope, setId, value, evidence, source"
},
"parameterSets": {
"type": "array"
}
},
"additionalProperties": false
}
}Bind this MCP session to an existing Model project (edit or view id). View ids are read-only.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Project edit id (mp-…) or view id |
{
"name": "model_open",
"title": "Open Model register",
"description": "Bind this MCP session to an existing Model project (edit or view id). View ids are read-only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Project edit id (mp-…) or view id"
}
},
"additionalProperties": false
}
}Counts, rev, and /model/?id= URLs for the bound project (or pass id).
| Parameter | Type | Description |
|---|---|---|
| id | string |
{
"name": "model_status",
"title": "Model register status",
"description": "Counts, rev, and /model/?id= URLs for the bound project (or pass id).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
}
},
"additionalProperties": false
}
}Hydrate records from MySQL. include=summary (default counts), dictionaries, parameters, observations, edges, or all. Prefer model_upsert_observation to change one fact — do not treat this as a blob to rewrite.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| include | string | Default summary |
{
"name": "model_get",
"title": "Get Model register",
"description": "Hydrate records from MySQL. include=summary (default counts), dictionaries, parameters, observations, edges, or all. Prefer model_upsert_observation to change one fact — do not treat this as a blob to rewrite.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"include": {
"enum": [
"summary",
"all",
"dictionaries",
"parameters",
"observations",
"edges"
],
"type": "string",
"description": "Default summary"
}
},
"additionalProperties": false
}
}Unbind the Model project from this MCP session. Does not delete MySQL rows.
No parameters.
{
"name": "model_discard",
"title": "Discard Model session",
"description": "Unbind the Model project from this MCP session. Does not delete MySQL rows.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
}Update title, calendar, viewId, streams, axes, phases, parameterSets, and/or chains. Send If-Match via rev. Replaces each provided dictionary in full.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| rev | integer | Expected project rev (If-Match) |
| axes | array | |
| title | string | |
| chains | array | |
| phases | array | |
| viewId | ["string","null"] | |
| streams | array | |
| calendar | any | |
| parameterSets | array |
{
"name": "model_patch_project",
"title": "Patch Model dictionaries",
"description": "Update title, calendar, viewId, streams, axes, phases, parameterSets, and/or chains. Send If-Match via rev. Replaces each provided dictionary in full.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"rev": {
"type": "integer",
"description": "Expected project rev (If-Match)"
},
"axes": {
"type": "array"
},
"title": {
"type": "string"
},
"chains": {
"type": "array"
},
"phases": {
"type": "array"
},
"viewId": {
"type": [
"string",
"null"
]
},
"streams": {
"type": "array"
},
"calendar": {},
"parameterSets": {
"type": "array"
}
},
"additionalProperties": false
}
}List parameter catalog rows. Optional filters: streamId, role, layer, primaryOwner.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| role | string | |
| layer | string | |
| streamId | string | |
| primaryOwner | string |
{
"name": "model_list_parameters",
"title": "List parameters",
"description": "List parameter catalog rows. Optional filters: streamId, role, layer, primaryOwner.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"role": {
"type": "string"
},
"layer": {
"type": "string"
},
"streamId": {
"type": "string"
},
"primaryOwner": {
"type": "string"
}
},
"additionalProperties": false
}
}One catalog row plus its observations (facts).
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| parameterId * | string | Stable id, e.g. PRJ.FACILITY_MW |
{
"name": "model_get_parameter",
"title": "Get parameter",
"description": "One catalog row plus its observations (facts).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"parameterId"
],
"properties": {
"id": {
"type": "string"
},
"parameterId": {
"type": "string",
"description": "Stable id, e.g. PRJ.FACILITY_MW"
}
},
"additionalProperties": false
}
}Create or patch one parameter definition (not observations). Pass rev for If-Match on update.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| rev | integer | |
| name | string | |
| role | string | |
| unit | string | |
| attrs | any | name, definition, unit, scopeAxes, SBC fields, comments, … |
| layer | string | |
| comment | string | |
| formula | string | |
| domainId | string | |
| priority | string | |
| streamId | string | |
| scopeAxes | array | |
| valueType | string | |
| assignedWs | string | |
| definition | string | |
| canonicalId | string | |
| parameterId * | string | |
| primaryOwner | string | |
| economicClass | string | |
| adjustmentKind | string | |
| qtyParameterId | string | |
| rateComponents | array | |
| rateParameterId | string |
{
"name": "model_upsert_parameter",
"title": "Upsert parameter catalog",
"description": "Create or patch one parameter definition (not observations). Pass rev for If-Match on update.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"parameterId"
],
"properties": {
"id": {
"type": "string"
},
"rev": {
"type": "integer"
},
"name": {
"type": "string"
},
"role": {
"type": "string"
},
"unit": {
"type": "string"
},
"attrs": {
"description": "name, definition, unit, scopeAxes, SBC fields, comments, …"
},
"layer": {
"type": "string"
},
"comment": {
"type": "string"
},
"formula": {
"type": "string"
},
"domainId": {
"type": "string"
},
"priority": {
"type": "string"
},
"streamId": {
"type": "string"
},
"scopeAxes": {
"type": "array",
"items": {
"type": "string"
}
},
"valueType": {
"type": "string"
},
"assignedWs": {
"type": "string"
},
"definition": {
"type": "string"
},
"canonicalId": {
"type": "string"
},
"parameterId": {
"type": "string"
},
"primaryOwner": {
"type": "string"
},
"economicClass": {
"type": "string"
},
"adjustmentKind": {
"type": "string"
},
"qtyParameterId": {
"type": "string"
},
"rateComponents": {
"type": "array"
},
"rateParameterId": {
"type": "string"
}
},
"additionalProperties": false
}
}Create or patch many catalog rows (cap 400). Same body shape as model_upsert_parameter. continueOnError returns per-row errors; otherwise one transaction.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| parameters * | array | Catalog rows (parameterId + same fields as model_upsert_parameter) |
| continueOnError | boolean |
{
"name": "model_upsert_parameters",
"title": "Bulk upsert parameters",
"description": "Create or patch many catalog rows (cap 400). Same body shape as model_upsert_parameter. continueOnError returns per-row errors; otherwise one transaction.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"parameters"
],
"properties": {
"id": {
"type": "string"
},
"parameters": {
"type": "array",
"description": "Catalog rows (parameterId + same fields as model_upsert_parameter)"
},
"continueOnError": {
"type": "boolean"
}
},
"additionalProperties": false
}
}Delete a parameter and its observations (cascade).
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| parameterId * | string |
{
"name": "model_delete_parameter",
"title": "Delete parameter",
"description": "Delete a parameter and its observations (cascade).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"parameterId"
],
"properties": {
"id": {
"type": "string"
},
"parameterId": {
"type": "string"
}
},
"additionalProperties": false
}
}List facts. Filter by parameterId, setId, evidenceStatus. Sets are a column (Base/Downside/Upside), not an axis.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| setId | string | |
| parameterId | string | |
| evidenceStatus | string |
{
"name": "model_list_observations",
"title": "List observations",
"description": "List facts. Filter by parameterId, setId, evidenceStatus. Sets are a column (Base/Downside/Upside), not an axis.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"setId": {
"type": "string"
},
"parameterId": {
"type": "string"
},
"evidenceStatus": {
"type": "string"
}
},
"additionalProperties": false
}
}Create or replace one fact (parameterId + scope + setId). Example: Base P2 facility MW. Do not write CALC-computed values; only IN facts or CALC overrides (valueOverride). Pass rev for If-Match.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| rev | integer | |
| scope | object | axisId → memberId, e.g. { "Phase_ID": "P2" } |
| setId | string | Base (default), Downside, Upside, or custom |
| value | any | |
| source | any | { sourceId, locator, date, owner, allowedUse } |
| scopeKey | string | |
| parameterId * | string | |
| valueLocked | boolean | |
| valueOverride | boolean | |
| evidenceStatus | string |
{
"name": "model_upsert_observation",
"title": "Upsert observation",
"description": "Create or replace one fact (parameterId + scope + setId). Example: Base P2 facility MW. Do not write CALC-computed values; only IN facts or CALC overrides (valueOverride). Pass rev for If-Match.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"parameterId"
],
"properties": {
"id": {
"type": "string"
},
"rev": {
"type": "integer"
},
"scope": {
"type": "object",
"description": "axisId → memberId, e.g. { \"Phase_ID\": \"P2\" }",
"additionalProperties": {
"type": "string"
}
},
"setId": {
"type": "string",
"description": "Base (default), Downside, Upside, or custom"
},
"value": {},
"source": {
"description": "{ sourceId, locator, date, owner, allowedUse }"
},
"scopeKey": {
"type": "string"
},
"parameterId": {
"type": "string"
},
"valueLocked": {
"type": "boolean"
},
"valueOverride": {
"type": "boolean"
},
"evidenceStatus": {
"type": "string"
}
},
"additionalProperties": false
}
}Create or replace many facts (cap 400). Same body shape as model_upsert_observation. Rejects CALC outputs unless valueOverride. continueOnError returns per-row errors; otherwise one transaction.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| observations * | array | Facts (parameterId, scope, setId, value, …) |
| continueOnError | boolean |
{
"name": "model_upsert_observations",
"title": "Bulk upsert observations",
"description": "Create or replace many facts (cap 400). Same body shape as model_upsert_observation. Rejects CALC outputs unless valueOverride. continueOnError returns per-row errors; otherwise one transaction.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"observations"
],
"properties": {
"id": {
"type": "string"
},
"observations": {
"type": "array",
"description": "Facts (parameterId, scope, setId, value, …)"
},
"continueOnError": {
"type": "boolean"
}
},
"additionalProperties": false
}
}Delete one fact by parameterId + scope/scopeKey + setId.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| scope | object | |
| setId | string | |
| scopeKey | string | |
| parameterId * | string |
{
"name": "model_delete_observation",
"title": "Delete observation",
"description": "Delete one fact by parameterId + scope/scopeKey + setId.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"parameterId"
],
"properties": {
"id": {
"type": "string"
},
"scope": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"setId": {
"type": "string"
},
"scopeKey": {
"type": "string"
},
"parameterId": {
"type": "string"
}
},
"additionalProperties": false
}
}Manual lineage edges only (SOURCE/FLOW/INTERFACE). FORMULA edges are derived from formulas on load — not stored.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| toId | string | |
| fromId | string | |
| edgeType | string | one of ["SOURCE","FLOW","INTERFACE"] |
{
"name": "model_list_edges",
"title": "List edges",
"description": "Manual lineage edges only (SOURCE/FLOW/INTERFACE). FORMULA edges are derived from formulas on load — not stored.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"toId": {
"type": "string"
},
"fromId": {
"type": "string"
},
"edgeType": {
"enum": [
"SOURCE",
"FLOW",
"INTERFACE"
],
"type": "string"
}
},
"additionalProperties": false
}
}Create or patch a manual SOURCE, FLOW, or INTERFACE edge. FORMULA is rejected.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| rev | integer | |
| toId | string | |
| label | string | |
| owner | string | |
| edgeId * | string | |
| fromId | string | |
| edgeType | string | one of ["SOURCE","FLOW","INTERFACE"] |
| condition | string | one of ["DIRECT","CONDITIONAL"] |
{
"name": "model_upsert_edge",
"title": "Upsert edge",
"description": "Create or patch a manual SOURCE, FLOW, or INTERFACE edge. FORMULA is rejected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"edgeId"
],
"properties": {
"id": {
"type": "string"
},
"rev": {
"type": "integer"
},
"toId": {
"type": "string"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"edgeId": {
"type": "string"
},
"fromId": {
"type": "string"
},
"edgeType": {
"enum": [
"SOURCE",
"FLOW",
"INTERFACE"
],
"type": "string"
},
"condition": {
"enum": [
"DIRECT",
"CONDITIONAL"
],
"type": "string"
}
},
"additionalProperties": false
}
}Delete a manual edge by edgeId.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| edgeId * | string |
{
"name": "model_delete_edge",
"title": "Delete edge",
"description": "Delete a manual edge by edgeId.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"edgeId"
],
"properties": {
"id": {
"type": "string"
},
"edgeId": {
"type": "string"
}
},
"additionalProperties": false
}
}Read-only computeModel. Does not write MySQL. View ids allowed. Default period is calendar start (not today). periodId and range* are mutually exclusive. Cell cap 2000.
| Parameter | Type | Description |
|---|---|---|
| id | string | |
| setId | string | |
| slice | object | |
| periodId | string | |
| rangeEnd | string | |
| rangeStart | string | |
| includeEmpty | boolean | |
| parameterIds | array | |
| includeInputs | boolean |
{
"name": "model_evaluate",
"title": "Evaluate Model compute",
"description": "Read-only computeModel. Does not write MySQL. View ids allowed. Default period is calendar start (not today). periodId and range* are mutually exclusive. Cell cap 2000.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"setId": {
"type": "string"
},
"slice": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"periodId": {
"type": "string"
},
"rangeEnd": {
"type": "string"
},
"rangeStart": {
"type": "string"
},
"includeEmpty": {
"type": "boolean"
},
"parameterIds": {
"type": "array",
"items": {
"type": "string"
}
},
"includeInputs": {
"type": "boolean"
}
},
"additionalProperties": false
}
}Streams, axes (members), phases, parameter sets, chains, and calendar. Period members may be derived from calendar.
| Parameter | Type | Description |
|---|---|---|
| id | string |
{
"name": "model_list_dictionaries",
"title": "List dictionaries",
"description": "Streams, axes (members), phases, parameter sets, chains, and calendar. Period members may be derived from calendar.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
}
},
"additionalProperties": false
}
}Names, descriptions and schemas were written by the server and are shown as data.