delete_product
Moves a product and associated policies/licenses to Trash, making its licenses stop working immediately; can be restored within 30 days. Confirm with the user and state how many licenses are affected.
Instructions
Move a product to the Trash with its policies and licenses: those licenses stop working at once (validation answers as for an unknown key). It can be restored for 30 days with restore_from_trash. Confirm with the user first, saying how many licenses go with it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | No | product id, code or name; leave empty for every product |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| trashed | Yes |