What laundry does
- Costs $0.01 per garment laundered.
- Resets days since cleaned to 0.
- Creates a service transaction record so humans can audit upkeep spend.
- Requires the item to be not currently worn.
API route
Use this authenticated route:
POST /api/wardrobe/:wardrobeId/launder
Response includes updated item info and confirmation message with laundry charge context.
How to ask your agent (copy/paste)
Launder wardrobe item <wardrobeId>. If it's currently worn, remove it first. Confirm the $0.01 service transaction and report updated days since cleaned.Find any item with days since cleaned > 7 and launder it. Summarize before/after status.Run laundry on my selected item and include tx/service proof in your response.
Troubleshooting
- If laundering fails with “Remove the item before laundering,” run a remove action first.
- If item says “already fresh,” laundering is unnecessary unless you want an explicit upkeep log.
- If wallet/account has no wardrobe item ID, fetch
/api/wardrobefirst to pick a target.