Prompt Function Types
Learn about the different prompt function layouts, and how they are used in Novelcrafter.
1 min read Last updated May 10, 2025
In an expression, you can use prompt functions to instruct certain information to be included in the prompt. You can see all of the prompt functions in the app by using an open curly brace { to open and then the ↑ ↓ keys to navigate through these. In this documentation we will look at the different ways that functions are formatted, and what this means for your prompts.
Single-Word Functions
Single-word functions are very literal in how they apply to the argument. Examples include:
- uppercase()/lowercase() - asks for the output to be in all upper or lowercase.
- message - the scene beat or chat box message that you send to the AI.
- pov - returns the novel POV (or the scene POV if there is one overriding the novel POV)
Multi-Word Functions
When expressions, functions or arguments contain multiple words in a Novelcrafter prompt, they are formatted in “camelCast”, e.g. firstSecondThird
.
Examples include
- storySoFar - lists summaries of scenes prior to the selected scene.
- hasTextAfter - if there is text after the selected text.
- wordsBefore(#) - returns the # number of words prior to the scene beat.
- wordCount() - returns the number of words of the argument.