NOIR
Reference

Runtime API

The essential primitives available inside each run.

noir.send(output)

Queue a durable final reply. Returning a string from handler mode is shorthand.

noir.status(text)

Publish non-final progress such as SEARCHING DATA without settling the run.

noir.run(name, work)

Execute JSON-producing work once and reuse its result when the handler replays.

noir.ask(options)

Request permission from the original user, pause durably, and resume after the decision.

noir.services

Access application clients contributed by plugins and capabilities.

noir.executionId

A stable identity for the logical run. Forward it as an idempotency key to external systems.

noir.signal

An abort signal for cancellation and hard runtime deadlines.

On this page