Build and check a Skin Lab outfit: wear-rule clashes, attachments, total price and the 3D link
skinlab_build_outfitBuild and check a Skin Lab outfit: wear-rule clashes, attachments, total price and the 3D link. Puts the pieces on in order, the way the viewer and the game do. Pieces that can't be worn together (the
game's own wear rules: two pieces clash when they occupy the same under-layer or over-layer body area - a
Coffee Can Helmet and a Metal Facemask both cover the head) are reported in clashes with the piece they
conflict with and why; the first piece wins and the later one is left out of the link, exactly as the viewer
would; a second piece for a viewer slot that's already filled is a clash too. invalid_attachments lists
attachments a gun doesn't accept or that fight for the same attachment slot; errors lists pieces that
couldn't be resolved (unknown item, or a skin that isn't in 3D yet). slots is the
normalised outfit (slot, item, skin, price), total_price the sum of the chosen skins' Steam lowest listings
in USD cents (default looks cost nothing; unpriced counts skins with no listing), valid is true when
nothing was dropped, and viewer_url opens the outfit in rust.wiki/skin-lab. Use to put together or check a whole Rust outfit (e.g. 'hoodie with the Tempered skin, metal facemask, AK with a holosight'): it applies the game's wear rules, flags pieces that can't be worn together and why, checks gun attachments, totals the skins' Steam price, and returns a viewer_url showing the outfit in 3D. Find skin itemdefids with search_skins or skinlab_get_item.
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": {
"pieces": "<pieces>"
},
"name": "skinlab_build_outfit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Body model. | male |
| face | No | Face (head) name for that body, e.g. `Frank` - list in the error when wrong. | |
| mode | No | Viewer mode for the link: `outfit`, `weapon` (the first piece on its own) or `pov` (first person; needs a gun or tool). | outfit |
| pose | No | Pose key, e.g. `idle`, `wave`, `crouch`, `rifle_aim`, `walk` (default `auto`). Invalid keys are listed in the error. | |
| pieces | Yes | Comma-separated pieces, each `item[:skin[:attachment~attachment]]` - item by shortname or name, skin by itemdefid or name (left out or 0 = default look), attachments for guns. A bare number is a skin itemdefid. Up to 14 pieces, one per viewer slot. |