manage_opportunity
Create or update ProductPlan opportunities with a problem statement or opportunity ID. Use workflow status to archive, as deletion is not available.
Instructions
Create or update an opportunity. Note: delete not available via API.
USE WHEN: "Create opportunity", "Update problem" Actions: create (problem_statement), update (opportunity_id) Returns the created/updated opportunity object. FAILS WHEN: create without problem_statement, update without opportunity_id (get IDs from list_opportunities). Note: delete is not available via the ProductPlan API; archive opportunities by updating workflow_status 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": {
"action": "<action>"
},
"name": "manage_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | create or update | |
| description | No | Description | |
| opportunity_id | No | Opportunity ID (for update) | |
| workflow_status | No | Opportunity workflow status | |
| problem_statement | No | Problem statement (title) |