create_histogram_chart
Generate a histogram of a simulation output's distribution as a new Excel sheet, showing binned frequencies, cumulative % curve, and the P10-P90 range. Use it after simulation to visualize results.
Instructions
ModelRisk: Render a histogram of one output's simulation result distribution as a new sheet in the workbook. The sheet has a binned data table (bin centre / frequency / cumulative %) plus a native Excel chart: frequency columns with the cumulative-probability curve overlaid on a secondary % axis and the central-80% (P10-P90) band highlighted — the same view as ModelRisk's Results Viewer, persisted into the workbook. Requires a completed simulation (reads samples from the active .vmrs). Idempotent — a sheet with the target name is replaced.
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": {
"output_name": "<output_name>"
},
"name": "create_histogram_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_name | No | Target sheet name. Default: `Histogram_<output_name>` (truncated to Excel's 31-char limit). | |
| output_name | Yes | VoseOutput name to chart. | |
| workbook_name | No | Workbook name. Omit for the active workbook. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||