Run a backtest report
reportRun a backtest and show its results. Supply strategyExplanation in plain terms for the widget. In your reply, explain the rule, always show Return vs. SPY (summary.returnVsSpyPct in percentage points, or Unavailable), and give one takeaway or limit supported by the report. Choose any additional cards using stats. Use scoreSeries for a separate score panel. Use chartSeries to select named report series and set their legend labels, line or bar types, colors, and line patterns. Keep the interpretation about this historical test. To publish this exact result later, pass its reportId to save_strategy after the user asks to save it to the website.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run": "<run>"
},
"name": "report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| stats | No | ||
| chartSeries | No | Additional price-panel plots. Reference named engine report series. Set a legend label, line or bar type, line pattern, and optional hex color. | |
| scoreSeries | No | Named report series to draw in the separate score panel. | |
| strategyExplanation | No | In 1 to 3 plain sentences, explain what the strategy trades, what triggers buys and sells or rebalancing, and one key assumption when relevant. Use the run rules. Leave historical results for the report. |