Strategies and charts open in this conversation
conversation_attachmentsA conversation can hold several strategies and charts. action="list" shows what is attached and which strategy is primary; action="attach" adds one of the person’s strategies (kind="strategy") or charts (kind="chart") by refId, and attaching a strategy makes it primary; action="detach" removes one by attachmentId without deleting it. When the person says "this strategy" and several are attached, ask which one unless one is clearly selected.
Set "action" to choose the operation. Only send the fields listed for that action.
action="list": List what is open in this conversation
No other fields required. Lists the strategies and charts attached to this conversation, with which strategy is primary. When the person says "this strategy" and more than one strategy is attached, ask which one unless one is clearly selected.
action="attach": Attach a strategy or chart
Required fields: kind, refId. Attaches one of the person’s strategies or charts to this conversation. Attaching a strategy makes it the primary strategy, like switch_active_strategy.
action="detach": Remove a strategy or chart from this conversation
Required fields: attachmentId. Removes one attachment from this conversation without deleting the strategy or chart. The only strategy cannot be removed; attach another first.
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": {
"action": "<action>"
},
"name": "conversation_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What to attach. Used with action="attach". Required for action="attach". | |
| refId | No | Strategy id (strategyId or aiStrategyId) or chart id (chartId). Used with action="attach". Required for action="attach". | |
| action | Yes | Which operation to run: "list", "attach", "detach". See the tool description for each one. | |
| attachmentId | No | Attachment id from action="list". Used with action="detach". Required for action="detach". | |
| conversationId | No | Leave empty to use the current conversation. Used with action="list", action="attach", action="detach". |