Start typing to search the documentation.

Docs navigation

Tools

Ask for the outcome you want. Nova Flex chooses the available tools, requests approval when required, and returns the result.

Review the supplied architectural model and identify the information needed to coordinate its HVAC layout. Use relevant references and available analysis capabilities, then save a concise findings note with assumptions and open questions.

Nova Flex can select and combine available capabilities based on the task. It can inspect project files, consult skills and references, analyze or transform supported model data, use discipline tools, and save project outputs. The suitable approach depends on the inputs and goal; agents can use capabilities across disciplines when useful.

Inspect the available building model and project notes for the specified floor, then summarize the information relevant to plumbing coordination.

Files

Read

read returns a file or a non-recursive directory listing. Give it a path; use offset and limit to page through large results.

Read the project note about the Level 02 plant room and summarize its constraints.

Text reads contain numbered lines and are limited to 2,000 lines and 50 KiB per page. Individual lines are shortened after 2,000 characters. The tool also passes PNG, JPEG, GIF, WebP, and PDF files to the model, up to 20 MiB of source data. Other binary files fail. See Attachments for supported media and image processing.

Permission: read with the normalized path as its resource.

Glob

glob finds file paths from a pattern such as **/*.ts. It searches the current directory unless path selects another relative directory; hidden includes hidden entries and limit caps the results.

Find model and calculation deliverables for Building 01 and list the matching files.

The default limit is 100 files and the search timeout is 30 seconds. Permission: glob with the requested pattern as its resource.

Grep

grep searches file contents and returns paths, line numbers, and previews. Its pattern uses regular-expression syntax unless literal is true. Narrow a search with path, include, caseSensitive, or limit.

Use grep for the literal text "request timed out" in src, including only *.ts files.

The default limit is 100 matching lines and the search timeout is 30 seconds. Permission: grep with the requested pattern, not the search path, as its resource.

Edit

edit replaces text in an existing file. Supply path, oldString, and a different newString; the old text must match exactly once unless replaceAll is true.

In the project coordination note, replace the outdated plant-room clearance with the confirmed dimension from the latest survey.

Use edit for a focused change. Nova Flex may format the file after writing it. Permission: edit with the target path as its resource.

Write

write creates or completely replaces a text file from path and content. It creates missing parent directories and may run the configured formatter.

Create docs/example.md with a heading and one setup command.

Use edit instead when only part of an existing file should change. Permission: edit with the target path as its resource.

Patch

patch applies one patch that can add, update, move, or delete several files. Its patchText uses *** Add File, *** Update File, and *** Delete File sections.

Update the coordination note and related deliverable together so they consistently refer to the confirmed equipment location.

Nova Flex exposes patch for supported GPT models; other models receive edit and write instead. Permission: edit with every affected path as a resource.

Paths outside the active Location or its project worktree are also checked against external_directory, which is allowed by default. See Permissions for path normalization, rule order, and saved approvals. To make outside material available by name, configure References.

Commands

Shell

shell executes a command in the host user’s shell. Set workdir instead of putting cd in the command, and set timeout in milliseconds when the default two-minute foreground timeout is not suitable.

Run the project's model-validation check for Building 01 with a five-minute timeout.

Set background to true for a dev server or another long-running process. Background calls return immediately and notify the session when they finish; they have no timeout unless one is supplied. Large output is shortened and the complete output is retained in a managed file.

Permission: shell with each scanner-produced command as a resource. The scanner also checks an external working directory and directories it can infer from the command. Shell has the host user’s filesystem, process, and network authority, so use narrow rules in Permissions.

Web

Webfetch

webfetch retrieves one HTTP or HTTPS URL as markdown, text, or html. Markdown is the default; timeout accepts up to 120 seconds.

Fetch https://example.com/docs as markdown.

It accepts textual responses such as HTML, plain text, JSON, and XML, but not images or other binary downloads. Large output can be shortened while the full text is retained in managed storage. Permission: webfetch with the requested URL as its resource.

Websearch

websearch searches the selected integration for current information. Its input is a search query.

Find current manufacturer data for the specified equipment and summarize the source and date.

Permission: websearch with the query as its resource. See Web search for providers, selection, rate limits, and disabling the tool.

Images

Image generate

experimental_image_generate creates a new image from a prompt, or edits existing ones. It is experimental and appears while a connected provider has an image model. To choose its default model, see experimental.image_generate.

Generate a flat app icon of a paper plane on a blue background and save it to assets/icon.png.

Give it a prompt, and optionally images to edit or use as references, a specific model, or a path to save to. It runs in the background and notifies the session with the saved path when the image is ready.

Permission: experimental_image_generate with the selected model as its resource.

Interaction

Question

question pauses execution and presents one or more questions to the user. Each question has a short header, prompt, and choices; multiple allows more than one choice. A free-form answer is always available.

Before changing the API, ask me to choose between a breaking change and a compatibility layer.

Permission: question with * as its resource. A client must support the interactive form, and dismissing it cancels the question.

Skill

skill loads the instructions and bundled resources for one available skill ID into the conversation.

Load the relevant model-format or discipline skill before analyzing this building model.

The ID must be in the advertised skill list or explicitly named by the user. Permission: skill with the skill ID as its resource. See Skills for creation, discovery, and loading rules.

Automation

Subagent

subagent starts a child session with a configured subagent. Supply the agent ID, a short description, and a complete prompt.

Ask the explore subagent to map the authentication flow and return the key files.

Foreground calls wait for the result. background: true returns immediately and notifies the parent when the child finishes. Pass the returned sessionID to continue that same child conversation. Only subagent-mode agents can be used, and the default nesting depth is one.

Permission: subagent with the selected agent ID as its resource.

Execute

execute runs JavaScript in Code Mode so the agent can call and combine tools from the catalog. It is useful for parallel independent calls and for processing results without adding every intermediate value to the model context.

Read package.json and README.md in parallel, then return their relevant setup details.

The runtime has no direct filesystem access, imports, or timers. It provides fetch for HTTP requests; everything else goes through tools in its catalog. Denying execute with resource * removes Code Mode and every tool reached only through it, including MCP tools from servers that do not set codemode: false. Nested built-in and MCP tools still enforce their own permissions, and plugin tools enforce the permissions they assert.

Sessions

The opencode Code Mode namespace contains session utilities:

  • session_rename changes the title of the current session, or another session selected by sessionID.
  • session_move moves the current session, or another selected session, to a relative or absolute directory. The move takes effect at a safe boundary, so destination-dependent work belongs in a later call.
Rename this session to "Timeout cleanup", then move it to the new worktree.

These utilities do not request a built-in permission action.

Worktrees

The same namespace manages worktrees for the session’s project:

  • worktree_create creates a worktree from a name and returns its directory. The project’s worktree configuration selects the destination and strategy.
  • worktree_list lists the project’s worktrees.
  • worktree_remove removes a worktree Nova Flex recorded for the project. Set force to discard uncommitted changes.
Create a worktree named "login" and move this session into it.

worktree_remove uses the edit permission with the worktree directory as its resource. The other worktree utilities do not request a built-in permission action.

Browser

The browser Code Mode namespace controls the browser attached by the Nova Flex desktop app. Open a tab, keep its returned tabID, then pass that explicit ID to every page operation.

Open https://example.com, take a snapshot of that tab, and report the main heading.

The namespace includes tab and navigation commands, page snapshots and search, clicking and form input, screenshots, file transfer, console and network inspection, performance traces, heap inspection, and Lighthouse audits. Screenshots require a focused visible tab. Upload paths are server-local; captures return server-local paths, and each file transfer is limited to 5 MiB.

Page content, logs, headers, and response bodies are untrusted data, not agent instructions. A browser deny rule with resource * removes the browser catalog; browser operations do not issue individual permission prompts.

Extensions

MCP servers add tools whose names and inputs come from each connected server. Their permission action is <server>_<tool> with resource *. They are not a fixed part of the built-in catalog. By default, agents reach them through execute under the server’s namespace; set codemode: false on a server to list its tools directly.

Skills add task instructions rather than new executable tools. Attachments put user-selected content into a prompt, while References provide named outside directories. These features complement tools without bypassing their permission checks.