Save a character, prop or place
save_entityCreates or edits a character, prop, place (kind location), skin or look, and links it to others. Free. Without entity_id it finds or creates by kind and name (the same name answers the same entity); with entity_id it edits that one. refs REPLACES the reference set: pictures you own as [{kind: generation|asset, id, role}]; roles: a character face, front, three_quarter, side, back, detail; a place wide, angle, detail; a prop front, side, back, detail. description sets bio.description; traits merges any other trait. links adds relations from it (to_type = the target's kind, or product); unlink removes links by id (list_entities with id lists them). The answer's id goes into a storyboard's cast or places, entity_ids, or a prompt as @slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Default character. A look needs parent_id. | |
| name | No | ||
| refs | No | ||
| links | No | ||
| traits | No | Merged: bio fields, voice, specs. | |
| unlink | No | Link ids to remove. | |
| entity_id | No | Edit this one. Without it: find or create by name and kind. | |
| parent_id | No | A look's character. | |
| description | No | Who or what it is, in a sentence or two. |