triage_opportunity
Manage an opportunity by activating it to publish a rule, pausing to hide it, or archiving to retire it. Requires merchant confirmation to prevent accidental changes.
Instructions
Pause, activate, or archive a specific opportunity from get_opportunities. State-mutating; guarded by confirm=true. Use this after the merchant has explicitly picked an opportunity to act on. Pass action='activate' to publish a proposed rule, 'pause' to temporarily hide an active one, 'archive' to permanently retire it. Merchant-ops surface: BigCommerce today; on other platforms merchants manage this from the admin, and the tool returns a clear not-available message.
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": {
"opportunity_id": "<opportunity_id>",
"action": "<action>",
"confirm": "<confirm>"
},
"name": "triage_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do with this opportunity. | |
| confirm | Yes | Must be true to dispatch. Guard against accidental triage. | |
| opportunity_id | Yes | Opportunity id from get_opportunities. |