Save the direction
set_directionCall this once the user has picked one of the design_options (pass the same brief plus option 1, 2 or 3), or straight away when the user already knows the look (pass world, blend and knobs, or a tweak in plain words). Saves the direction and returns its direction_id, a description to tell the user, and the theme CSS for both light and dark: save it as styles/louis-studios-theme.css and import it once in the root layout. Every other designer tool takes this direction_id.
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": {
"app": "<app>"
},
"name": "set_direction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | What the site or app is and does, in a sentence or two. | |
| cta | No | The call to action label. | |
| mood | No | How it should feel, in the user's words. Naming worlds works too: "luxury + sakura", "brutalist", "Y2K". | |
| avoid | No | What the user does not want, for example "playful" or "glow". | |
| blend | No | A second world mixed in, or "none". | |
| brand | No | Brand or product name. | |
| knobs | No | Explicit settings that override the world. Every one can also be said in plain words through "tweak". | |
| theme | No | The default theme. Leave out to let the world decide; both themes are always made. | |
| tweak | No | Changes in plain words to apply before saving, as in adjust_direction. | |
| world | No | Force a world instead of letting the brief choose. | |
| colors | No | Brand colours as hex or names, most important first. Kept exact. Leave out to let the designer choose. | |
| option | No | Which of the three design_options for this same brief. | |
| subline | No | One supporting sentence. | |
| audience | No | Who it is for. | |
| headline | No | The main headline. |