apply_analysis_overlay
Preview or apply structured market analysis to an existing overlay. Confirmation is required to edit; otherwise it returns a read-only preview after verifying symbol, timeframe, and overlay inputs.
Instructions
Preview or apply a structured market analysis to an existing Bushido Analysis Overlay study. The tool fails closed when the chart symbol, timeframe or overlay input contract does not match. Without confirm=true it is read-only and returns a preview. With confirm=true it changes only that overlay's inputs, then reads them and its drawing totals back for verification. It never places orders or alerts.
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": {
"study_id": "<study_id>",
"expected_symbol": "<expected_symbol>",
"expected_timeframe": "<expected_timeframe>",
"analysis_id": "<analysis_id>",
"analyzed_at": "<analyzed_at>",
"bias": "<bias>",
"entry_low": "<entry_low>",
"entry_high": "<entry_high>",
"invalidation": "<invalidation>",
"stop": "<stop>",
"targets": "<targets>",
"confidence": "<confidence>"
},
"name": "apply_analysis_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bias | Yes | ||
| note | No | ||
| stop | Yes | ||
| confirm | No | Must be true to edit the live chart. Default: false = dry run | |
| targets | Yes | ||
| study_id | Yes | Overlay study id returned by add_pine_to_chart or get_chart_context | |
| entry_low | Yes | ||
| confidence | Yes | ||
| entry_high | Yes | ||
| expires_at | No | ||
| analysis_id | Yes | ||
| analyzed_at | Yes | ||
| chart_index | No | ||
| snapshot_id | No | Optional get_market_snapshot snapshot_id binding this analysis to its evidence | |
| confirmation | No | ||
| invalidation | Yes | ||
| expected_symbol | Yes | Exact symbol expected on the target chart, e.g. OANDA:USDJPY | |
| strategy_version | No | Optional strategy or decision-policy version used for this analysis | |
| expected_timeframe | Yes | Expected chart resolution, e.g. 15, 240, 4H or 1D |