get_samples
Return raw per-iteration sample values from a Monte Carlo simulation for a chosen output or input. Enable custom histograms, arbitrary percentiles, or downstream analysis by setting max_n up to 1,000,000.
Instructions
ModelRisk: Return raw per-iteration sample values for a single output or input. Useful for custom histograms, arbitrary percentiles, downstream analysis. Caps at 10 000 samples by default to keep the MCP response small; raise max_n if you need more (a 100 000-iteration sim returns ~100 KB of JSON at max_n=100000).
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": "get_samples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_n | No | Maximum samples to return (default 10 000). | |
| output_name | Yes | VoseInput or VoseOutput name. | |
| workbook_name | No | Workbook name. Omit for the active workbook. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||