jev_posteriors_load
Load and validate a bayesnet posteriors sidecar JSON file, optionally cross-checking its variables and states against a GraphSpec document to confirm consistency before use.
Instructions
Load and validate a bayesnet posteriors sidecar document.
path selects the sidecar JSON file; graphspec_path optionally
supplies a dafjev.bayesnet/1 GraphSpec document to cross-check
the sidecar's variables and states against.
Same loader as the daf-jev posteriors-load CLI command
(:func:daf_jev.bayesnet_posteriors.load_posteriors). On success
returns {ok, format, evidence_count, variable_count, min_row_sum_deviation, max_row_sum_deviation}; when the document
fails validation, returns {error, message, ok: false} instead.
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": {
"path": "<path>"
},
"name": "jev_posteriors_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| graphspec_path | No |