Bentrix Docs
HomePricingDashboard

MCP tools: output

A model's output of any kind but a forecast of bars — a number, named outcomes, quantiles, a rank, a target position, portfolio weights, an event, levels, an action, text or named lines: put (one, or several at one instant), read back by arrival, listed, cleared, shown or hidden on a chart; its meaning read and set (the person's own on a real account); what came handed over, and each output scored against the bars that had not closed when its values arrived, alone or side by side. Nothing here judges whether a model is right.

Reached from a connected client as client.output in Python, client.output in JavaScript, client.output() in Rust — each tool below shows its call in every language.

chart_set_output#

Show or hide an output on a chart

labplan: freesince 3.9.0idempotent

Shows or hides one model's output on one chart, as its legend row's eye does - a hidden one keeps its row, dim - and turns the chart's Zones on or off (each output pane shaded beyond its thresholds). A field not named keeps its value. Answers the chart's hidden outputs and its Zones.

ArgumentTypeRequiredDefaultWhat it is
chartstringyes—The chart's uri.
modelstringyes—
outputstringyes—
shownboolean——Draw this output on this chart (the legend's eye).
zonesboolean——The chart's Zones: every output pane shaded above its upper threshold and below its lower one.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "chart_set_output",
    "arguments": {
      "chart": "…",
      "model": "…",
      "output": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def chart_set_output(self, chart: str, model: str, output: str, *, shown: Optional[bool] = None, zones: Optional[bool] = None) -> Dict[str, Any]

JavaScript

client.output
chartSetOutput(args)

C#

client.Output
public Task<JsonNode?> ChartSetOutput(string chart, string model, string output, bool? shown = null, bool? zones = null, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) ChartSetOutput(ctx context.Context, args OutputChartSetOutputArgs) (any, error)

Java

client.output
public Object chartSetOutput(ChartSetOutputArgs args)

C++

client.output
Json chart_set_output(const ChartSetOutputArgs &args)

Julia

client.output
chart_set_output = (chart, model, output; shown = nothing, zones = nothing)

R

client$output
`chart_set_output` = function(chart, model, output, shown = NULL, zones = NULL)

Rust

client.output()
pub fn chart_set_output(&self, args: OutputChartSetOutputArgs) -> Result<Value, Error>

output_actual_put#

Hand over what an output's values came to

labplan: freesince 3.10.0

Paired with the output's value of the same anchor in output_report; a later put of the same anchor replaces it. Refused by name: an anchor past the workbench's clock (it is the future), a document carrying two realised things in one row or none, names not [a-z0-9_]{1,32}.

ArgumentTypeRequiredDefaultWhat it is
actualsanyyes—The output_actuals document: schema_version 1, model, output, symbol, and actuals [{anchor_ms, value | label | event}] - one realised thing each.
benchstringyes—The workbench's uri.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_actual_put",
    "arguments": {
      "actuals": "…",
      "bench": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def actual_put(self, bench: str, actuals: Any) -> Dict[str, Any]

JavaScript

client.output
actualPut(args)

C#

client.Output
public Task<JsonNode?> ActualPut(string bench, object actuals, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) ActualPut(ctx context.Context, args OutputActualPutArgs) (any, error)

Java

client.output
public Object actualPut(ActualPutArgs args)

C++

client.output
Json actual_put(const ActualPutArgs &args)

Julia

client.output
actual_put = (bench, actuals)

R

client$output
`actual_put` = function(bench, actuals)

Rust

client.output()
pub fn actual_put(&self, args: OutputActualPutArgs) -> Result<Value, Error>

output_clear#

Remove outputs from a workbench

labplan: plussince 3.9.0destructive

Removes the outputs of one market, model or output name, or all of them, from the workbench, every arrival kept for them included, as the x on an output's legend row does. The person's meanings stay. A path output is removed by forecast_clear. Answers how many arrivals went.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
modelstring——One model; omitted, every model.
outputstring——One output; omitted, every output.
symbolstring——One market; omitted, every market.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_clear",
    "arguments": {
      "bench": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def clear(self, bench: str, *, model: Optional[str] = None, output: Optional[str] = None, symbol: Optional[str] = None) -> Dict[str, Any]

JavaScript

client.output
clear(args)

C#

client.Output
public Task<JsonNode?> Clear(string bench, string? model = null, string? output = null, string? symbol = null, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) Clear(ctx context.Context, args OutputClearArgs) (any, error)

Java

client.output
public Object clear(ClearArgs args)

C++

client.output
Json clear(const ClearArgs &args)

Julia

client.output
clear = (bench; model = nothing, output = nothing, symbol = nothing)

R

client$output
`clear` = function(bench, model = NULL, output = NULL, symbol = NULL)

Rust

client.output()
pub fn clear(&self, args: OutputClearArgs) -> Result<Value, Error>

output_compare#

Set outputs' reports side by side

readplan: freesince 3.10.0reads only

Output_report for several outputs on one market, a row each, over the same bars and actuals, by name - never ranked: a comparison is the laboratory's instrument and nothing here is published or ordered by a measure. An output that cannot be reported says why in its row.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
intervalstring——
outputsarray of string——The outputs to compare, each "model.output"; omitted, every output the bench holds on the market.
symbolstringyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_compare",
    "arguments": {
      "bench": "…",
      "symbol": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def compare(self, bench: str, symbol: str, *, interval: Optional[str] = None, outputs: Optional[List[str]] = None) -> Dict[str, Any]

JavaScript

client.output
compare(args)

C#

client.Output
public Task<JsonNode?> Compare(string bench, string symbol, string? interval = null, IReadOnlyList<string>? outputs = null, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) Compare(ctx context.Context, args OutputCompareArgs) (any, error)

Java

client.output
public Object compare(CompareArgs args)

C++

client.output
Json compare(const CompareArgs &args)

Julia

client.output
compare = (bench, symbol; interval = nothing, outputs = nothing)

R

client$output
`compare` = function(bench, symbol, interval = NULL, outputs = NULL)

Rust

client.output()
pub fn compare(&self, args: OutputCompareArgs) -> Result<Value, Error>

output_get#

Read the outputs on a workbench

readplan: freesince 3.9.0reads only

Answers the outputs a reader at at_ms (the workbench's clock when omitted) sees on the workbench, by arrival - never one that arrived after that instant, whatever its anchor - each with its model, output, market, kind, epoch, anchor, put_ms, values, range, who put it, and the meaning in force (the person's, else the model's suggestion). Arrivals lists every arrival kept per output. A path output is read by forecast_get.

ArgumentTypeRequiredDefaultWhat it is
at_msinteger——The instant to read at, UTC ms: what a reader at that instant saw. Omitted, the workbench's clock.
benchstringyes—The workbench's uri.
modelstring——One model; omitted, every model.
outputstring——One output of the model; omitted, every output.
symbolstring——One market; omitted, every market.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_get",
    "arguments": {
      "bench": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def get(self, bench: str, *, at_ms: Optional[int] = None, model: Optional[str] = None, output: Optional[str] = None, symbol: Optional[str] = None) -> Dict[str, Any]

JavaScript

client.output
get(args)

C#

client.Output
public Task<JsonNode?> Get(string bench, long? atMs = null, string? model = null, string? output = null, string? symbol = null, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) Get(ctx context.Context, args OutputGetArgs) (any, error)

Java

client.output
public Object get(GetArgs args)

C++

client.output
Json get(const GetArgs &args)

Julia

client.output
get = (bench; at_ms = nothing, model = nothing, output = nothing, symbol = nothing)

R

client$output
`get` = function(bench, at_ms = NULL, model = NULL, output = NULL, symbol = NULL)

Rust

client.output()
pub fn get(&self, args: OutputGetArgs) -> Result<Value, Error>

output_meaning_get#

Read what an output means on a workbench

readplan: freesince 3.9.0reads only

Answers the person's meaning of one model's output on one workbench and who set it (null where nobody has), the meaning the model suggests with its newest arrival, and the one in force: the person's, else the suggestion.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
modelstringyes—
outputstringyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_meaning_get",
    "arguments": {
      "bench": "…",
      "model": "…",
      "output": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def meaning_get(self, bench: str, model: str, output: str) -> Dict[str, Any]

JavaScript

client.output
meaningGet(args)

C#

client.Output
public Task<JsonNode?> MeaningGet(string bench, string model, string output, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) MeaningGet(ctx context.Context, args OutputMeaningGetArgs) (any, error)

Java

client.output
public Object meaningGet(MeaningGetArgs args)

C++

client.output
Json meaning_get(const MeaningGetArgs &args)

Julia

client.output
meaning_get = (bench, model, output)

R

client$output
`meaning_get` = function(bench, model, output)

Rust

client.output()
pub fn meaning_get(&self, args: OutputMeaningGetArgs) -> Result<Value, Error>

output_meaning_set#

Set what an output means on a workbench

labplan: plussince 3.9.0idempotent

The meaning is the person's setting and never touches the model's file; an agent's is marked with its pairing, which the person sees. Only on a workbench this agent writes on: a laboratory's with lab, a paper bench's with paper; a real account's meaning is the person's alone. Refused until an output of that name has arrived on the workbench. Answers the meaning and who set it.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
meaninganyyes—The meaning, as output_meaning describes it.
modelstringyes—
outputstringyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_meaning_set",
    "arguments": {
      "bench": "…",
      "meaning": "…",
      "model": "…",
      "output": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def meaning_set(self, bench: str, model: str, output: str, meaning: Any) -> Dict[str, Any]

JavaScript

client.output
meaningSet(args)

C#

client.Output
public Task<JsonNode?> MeaningSet(string bench, string model, string output, object meaning, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) MeaningSet(ctx context.Context, args OutputMeaningSetArgs) (any, error)

Java

client.output
public Object meaningSet(MeaningSetArgs args)

C++

client.output
Json meaning_set(const MeaningSetArgs &args)

Julia

client.output
meaning_set = (bench, model, output, meaning)

R

client$output
`meaning_set` = function(bench, model, output, meaning)

Rust

client.output()
pub fn meaning_set(&self, args: OutputMeaningSetArgs) -> Result<Value, Error>

output_put#

Put a model's output on a workbench

labplan: plussince 3.9.0idempotent

Hands over an output_spec of any kind: read by every chart, alert and tool from the instant it arrives, which Bentrix stamps as put_ms on the workbench's own clock - never from its anchor, so a late output is read late. A path output is today's forecast and lands through the forecast's own door (forecast_put's answer). Refused by name where it cannot be true: a value outside its declared range, an anchor past the workbench's clock, a market the workbench does not hold, a document naming its own arrival, an epoch lower than the one standing. Answers the arrival, the replaced epoch and each chart of the market with whether it draws it.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
outputanyyes—The output, as output_spec describes it.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_put",
    "arguments": {
      "bench": "…",
      "output": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def put(self, bench: str, output: Any) -> Dict[str, Any]

JavaScript

client.output
put(args)

C#

client.Output
public Task<JsonNode?> Put(string bench, object output, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) Put(ctx context.Context, args OutputPutArgs) (any, error)

Java

client.output
public Object put(PutArgs args)

C++

client.output
Json put(const PutArgs &args)

Julia

client.output
put = (bench, output)

R

client$output
`put` = function(bench, output)

Rust

client.output()
pub fn put(&self, args: OutputPutArgs) -> Result<Value, Error>

output_put_many#

Put several outputs at once

labplan: plussince 3.9.0

Hands over up to 256 output_specs to one workbench in one call, every one arriving at the same instant of its clock: several markets, models and outputs of any kinds. Each refused one is named by its index with why; all_or_nothing lands none when one is refused. Answers put (each landed output as output_put answers it) and refused [{index, why}].

ArgumentTypeRequiredDefaultWhat it is
all_or_nothingboolean—falseTrue lands none when one is refused; false (the default) lands every one that can be, and names the rest.
benchstringyes—The workbench's uri.
outputsarray of anyyes—The outputs, each an output_spec: several markets, models and outputs, at most 256.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_put_many",
    "arguments": {
      "bench": "…",
      "outputs": []
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def put_many(self, bench: str, outputs: List[Any], *, all_or_nothing: Optional[bool] = None) -> Dict[str, Any]

JavaScript

client.output
putMany(args)

C#

client.Output
public Task<JsonNode?> PutMany(string bench, object outputs, bool? allOrNothing = null, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) PutMany(ctx context.Context, args OutputPutManyArgs) (any, error)

Java

client.output
public Object putMany(PutManyArgs args)

C++

client.output
Json put_many(const PutManyArgs &args)

Julia

client.output
put_many = (bench, outputs; all_or_nothing = nothing)

R

client$output
`put_many` = function(bench, outputs, all_or_nothing = NULL)

Rust

client.output()
pub fn put_many(&self, args: OutputPutManyArgs) -> Result<Value, Error>

output_report#

Report how a model's output did

readplan: freesince 3.10.0reads only

Scores one output of one model on one market by its kind's own measures, against the workbench's bars up to its clock and the actuals handed over with output_actual_put - each value only against a bar that had not closed when it arrived (late values are counted, never scored; pending ones wait). A probability (a scalar read as a direction, or units probability): AUC, Brier, log-loss, a ten-bin calibration curve and the confusion at the meaning's act_above (0.5 without one), the event being the move over the step in the meaning's high direction. Another number: MAE, RMSE, mean signed error, Pearson and Spearman against the move over the step. Quantiles: pinball and coverage per level against the step's close. Event: AUC, Brier, log-loss and the confusion at tau against the supplied events. Levels: the share of trades whose target was met before the stop, read from the bars' highs and lows. Rank: the per-date IC against the supplied target and, apart and labelled raw, against the move over the horizon. Position, weights and action are measured in money only by a laboratory strategy run under the meaning; text is never evaluated. Nothing here is published or ranked anywhere else.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
intervalstring——The interval the output's steps are bars of, where its horizon does not name one (M1, H1, D1...).
linestring——A series output: the line scored against the realised values supplied.
modelstringyes—
outputstringyes—
since_msinteger——Only outputs that arrived at or after this instant, UTC ms.
symbolstringyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "output_report",
    "arguments": {
      "bench": "…",
      "model": "…",
      "output": "…",
      "symbol": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def report(self, bench: str, symbol: str, model: str, output: str, *, interval: Optional[str] = None, line: Optional[str] = None, since_ms: Optional[int] = None) -> Dict[str, Any]

JavaScript

client.output
report(args)

C#

client.Output
public Task<JsonNode?> Report(string bench, string symbol, string model, string output, string? interval = null, string? line = null, long? sinceMs = null, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) Report(ctx context.Context, args OutputReportArgs) (any, error)

Java

client.output
public Object report(ReportArgs args)

C++

client.output
Json report(const ReportArgs &args)

Julia

client.output
report = (bench, symbol, model, output; interval = nothing, line = nothing, since_ms = nothing)

R

client$output
`report` = function(bench, symbol, model, output, interval = NULL, line = NULL, since_ms = NULL)

Rust

client.output()
pub fn report(&self, args: OutputReportArgs) -> Result<Value, Error>

outputs_state#

A workbench's outputs and their meanings

readplan: freesince 3.9.0reads only

Every output the workbench holds, by market, model and output: its kind, how many arrivals are kept, the newest one's put_ms at the workbench's clock (null before the first arrived), the person's meaning and who set it, the model's suggested meaning, and whether a chart of this release draws its kind.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "outputs_state",
    "arguments": {
      "bench": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.output
def outputs_state(self, bench: str) -> Dict[str, Any]

JavaScript

client.output
outputsState(args)

C#

client.Output
public Task<JsonNode?> OutputsState(string bench, CancellationToken ct = default)

Go

client.Output
func (a *OutputAPI) OutputsState(ctx context.Context, args OutputOutputsStateArgs) (any, error)

Java

client.output
public Object outputsState(OutputsStateArgs args)

C++

client.output
Json outputs_state(const OutputsStateArgs &args)

Julia

client.output
outputs_state = (bench)

R

client$output
`outputs_state` = function(bench)

Rust

client.output()
pub fn outputs_state(&self, args: OutputOutputsStateArgs) -> Result<Value, Error>

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed