Semogram Docs
PluginsTransforms reference

window

Configure window parameters, input/output bindings and lineage.

Add partitioned row-wise analytics such as row numbers and running totals.

Install

Install the Transforms bundle, then select the window capability on a pipeline transform node. Runtime entrypoint: transforms/window.ts. The installed capability must be enabled and pass preflight.

Configure

Execution: deterministic. Declared runtime support: supported.

Parameters

FieldTypeRequiredDetails
partitionByarrayNoFields that partition the input rows. Items: string.
orderByarrayNoFields that define ordering within each partition. Items: object.
functionsarrayNoWindow functions to compute. Items: object.

View the complete contract for nested parameter shapes, defaults, named bindings and lineage.

Bindings

  • Input in: Input (required)
  • Output out: Output

Verify the result

Create a small input with known values that exercise window and supply the required parameters above. Validate, save and run the pipeline. Inspect the output records and compare row counts and changed fields with the input. Check the run’s errors and evidence before accepting a conversational summary.

Include empty inputs, missing values and relevant duplicate or multi-match cases so the intended behavior is clear.

Lineage and changes

Lineage mode: row_preserving. This capability declares one output row per input row in the same order. Verify that downstream evidence still refers to the correct source row.

Changing parameters changes the computation. Review the saved pipeline revision before rerunning it. Publishing a new plugin version and editing node parameters are different changes.

FAQ

Why does validation fail?

Check required parameters, the installed capability version, runtime support and the named input/output bindings. A missing nested field may be visible only in the full contract.

Is this a standalone MCP tool?

It is a plugin capability used by a pipeline, not a new top-level MCP tool with this operation name. An assistant can inspect, validate and execute the pipeline through the MCP reference.