Create or update locations
upsert_locationsCreates locations (no id, name required) or updates them (id + expected_version). The studio shows each one's name, time_variants (its times of day) and description: always fill all three. The description is what the camera sees (architecture, dressing, light) and says whether it is indoors or outdoors; set interior to match. Size the count to the season (see the shortdrama-workflow skill).
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": {
"drama_id": "<drama_id>",
"locations": "<locations>"
},
"name": "upsert_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drama_id | Yes | The drama id (drm_…), from list_dramas or create_drama. | |
| locations | Yes | Places to create or update, matched by name: description, interior, times of day. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | Yes |