Name, colour or hide a body
set_bodyGives a body a name (tools then take it), an appearance colour (#rrggbb; null for the default), or hides or shows it. In a design of several bodies name each after what it is (Base, Lid, Board) and colour parts that are not printed (a board, a battery) as they look.
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": {
"body": "<body>"
},
"name": "set_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Body name or "feature:k" key from get_document. | |
| name | No | ||
| color | No | #rrggbb, or null for the default colour. | |
| visible | No |