# manuscript

> Reference for the manuscript tool of Author: the manuscript tree, with every action and the arguments you can pass.

Source: https://author.geenius.io/docs/reference/manuscript/

The tree of a book: parts, chapters and scenes, with times, places, point of view and cast per scene.

Call it as `geenius_author(tool: "manuscript", action: "<action>", args: {...})` through Geenius OS.

## Actions

| Action | What it does |
|---|---|
| `tree` | The book's tree: parts › chapters › scenes in reading order. Rules: book_id: the tree in reading order (parts › chapters › scenes) with numbering, status, words, each scene's resolved time, place, POV and cast. |
| `add` | Add a part, chapter or scene. |
| `update` | Change a part, chapter or scene. Rules: node_id + any of those (null clears) (those of node_add). |
| `move` | Move a part, chapter or scene in the tree. Rules: node_id, parent_id?, index? \| after?. |
| `remove` | Remove a part, chapter or scene with what is under it. Rules: node_id (with what is under it). |
| `shift` | Move a node's scenes (and their timed events) in story time. Rules: node_id, delta: move its scenes (and their timed events) in story time. |

## Arguments we have checked

### manuscript · tree

The book's tree: parts › chapters › scenes in reading order. Rules: book_id: the tree in reading order (parts › chapters › scenes) with numbering, status, words, each scene's resolved time, place, POV and cast.

- `book_id` (required)

### manuscript · add

Add a part, chapter or scene.

- `after`
- `assertions`
- `book_id` (required)
- `duration`
- `end`
- `index`
- `kind` (required)
- `mode`
- `parent_id`
- `place_id`
- `pov_id`
- `present`
- `relative`
- `start`
- `status`
- `synopsis`
- `title`
- `weather_id`
- `weather_state`

### manuscript · update

Change a part, chapter or scene. Rules: node_id + any of those (null clears) (those of node_add).

- `assertions`
- `duration`
- `end`
- `mode`
- `node_id` (required)
- `place_id`
- `pov_id`
- `present`
- `relative`
- `start`
- `status`
- `synopsis`
- `title`
- `weather_id`
- `weather_state`

### manuscript · move

Move a part, chapter or scene in the tree. Rules: node_id, parent_id?, index? | after?.

- `after`
- `index`
- `node_id` (required)
- `parent_id`

### manuscript · remove

Remove a part, chapter or scene with what is under it. Rules: node_id (with what is under it).

- `node_id` (required)

### manuscript · shift

Move a node's scenes (and their timed events) in story time. Rules: node_id, delta: move its scenes (and their timed events) in story time.

- `delta` (required)
- `node_id` (required)

> [!TIP]
> Ask for the exact arguments of any action with `action: "help", of: "tree"`. The server answers from its own definitions, so that answer is always current.

