Switch the price list on, confirm an item, re-read the sheet
dosai_manage_price_listOne action on the price list (ids from dosai_get_price_list). activate: make the draft the working price (refused while an item's grid is unconfirmed or has no prices). confirm_item: the owner confirms an item's grid was read correctly; swap=true first swaps its rows and columns. set_bot_enabled: whether the bot calculates prices by this list. sync_sheet: re-read the Google Sheet now. Throwing a draft away: dosai_delete_price_draft. Requires editor role.
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": {
"project_id": "<project_id>",
"action": "<action>"
},
"name": "dosai_manage_price_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap | No | ||
| action | Yes | ||
| enabled | No | For set_bot_enabled. | |
| item_id | No | For confirm_item. | |
| list_id | No | For activate and set_bot_enabled. | |
| project_id | Yes | From dosai_list_projects. |