Delete a piece
delete_pieceDelete a piece from the user's closet. Saved outfits that had it are kept without it (or deleted when nothing wearable is left). Confirm with the user first: it can't be undone. Needs the account connected with changes allowed.
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": {
"piece": "<piece>"
},
"name": "delete_piece"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| piece | Yes | The piece, by its id from get_closet (or its name). |