set_place
Set the location for a shot: apply a place preset with scenery, colors, sky, and props to the shot on screen or a given shot id. Returns the place and its item ids.
Instructions
Set where a shot happens (shot_id, or scene + shot; left out: the shot on screen): a place preset (with its scenery), and/or its colours and sky, and scenery items. Ids must come from the current style: call library to see them (a wrong id is refused with the valid list). Returns the place and its item ids. One undo step for the person. For a generated photo background use generate_picture with kind background; for your own picture use upload with as background.
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": "set_place"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orb | No | Sun, moon or none. | |
| sky | No | Sky colour, "#RRGGBB". | |
| dark | No | true: a dark place (night, inside). | |
| name | No | A name for the place. | |
| shot | No | Shot index from 0 inside that scene (with scene; alone: in the scene on screen). A shot id works here too. | |
| floor | No | Floor colour, "#RRGGBB". | |
| scene | No | Scene index from 0 (with shot). Used when shot_id isn't given. | |
| stars | No | Show stars. | |
| walls | No | Show walls (an inside place). | |
| clouds | No | Show clouds. | |
| preset | No | Place preset id (library places). | |
| horizon | No | Horizon colour, "#RRGGBB". | |
| shot_id | No | The shot's id from get_project. Or give scene and shot instead. Left out: the shot on screen. | |
| add_items | No | Scenery items to add. | |
| clear_items | No | true: remove every scenery item. | |
| change_items | No | Scenery items to change. | |
| remove_items | No | Item ids to remove. |