build_mode
Drives Hillnote’s Build mode by switching between coding and document views, opening projects and files, and typing agent or shell instructions without executing them.
Instructions
Drive Build mode in the running Hillnote app — its coding side, with the workspace's coding projects and a code editor. Actions: enter (switch to Build mode; with project, open that project in the code editor), exit (back to the documents side), open_project, open_file (a file of a project in the code editor, optionally at a line — use it to show the user code you wrote or are talking about), send_to_terminal (type an instruction at the project's coding agent, or a shell command at a prompt in the project folder). send_to_terminal only TYPES: nothing is sent or run until the user presses Enter (with no agent open, the app's "Ask agent" dialog opens holding the request). Views open in the tab already showing them, otherwise in a new tab. Desktop app only; requires it to be running.
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": {
"action": "<action>"
},
"name": "build_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | send_to_terminal: agent (default) = the project's coding agent; shell = a shell prompt in the project folder | |
| file | No | open_file: path inside the project (e.g. "src/App.jsx") or an absolute path inside it | |
| line | No | open_file: 1-based line to show | |
| text | No | send_to_terminal: the instruction for the agent, or the shell command | |
| agent | No | send_to_terminal: which coding agent (e.g. "claude", "codex"). Default: the one open in the project, else the one used last. | |
| action | Yes | ||
| project | No | Project name, folder or id. Default: the project open in the code editor. A miss lists the projects. | |
| workspace | No | Workspace path or name (optional — default: the workspace the app is showing; a different one is switched to first) | |
| focusWindow | No | Bring the Hillnote window to the front (default true) |