Resolve an analysis value or condition
resolve_analysis_referenceDeterministically resolve one stable semantic element or one structured expression against the full durable dataset from a completed analysis run. Every result is persisted with its source run, expression, value or condition state, timestamp, and evidence. Pass exactly one of elementId or resolution. The structured field is named resolution, not expression. Example latest comparison: resolution={resultType:'condition',expression:{type:'comparison',operator:'gt',left:{type:'aggregate',datasetId:'prices',field:'close',reducer:'last'},right:{type:'aggregate',datasetId:'prices',field:'sma200',reducer:'last'}}}. Use the returned resolutionId for a later authorization action. Never copy a displayed chart number into a trade payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | No | Stable semantic element ID from inspect_analysis_artifact. Provide this or resolution, never both. | |
| resolution | No | Structured resolution envelope with resultType and expression. Provide this or elementId, never both. For a latest-field comparison, use resultType=condition, expression.type=comparison, and aggregate reducer=last on each field. | |
| analysisRunId | Yes | Completed owned analysisRunId returned by run_data_analysis. |