Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
toolName
string
required

The tool this fixture answers for.

Required string length: 1 - 200
Example:

"lookup_availability"

response
any

The exact JSON to return.

Example:
customerFlowVariantId
string<uuid>

Pin the fixture to one flow variant (scenario). Omit for a project-wide fixture. A variant-pinned fixture beats the project-wide one.

description
string

Why this fixture exists.

Maximum string length: 1000
Example:

"Forces the no-availability branch"

enabled
boolean

Defaults to true.

Response

The fixture as stored.

data
object
required

A deterministic tool response for Roark test calls: where the scenario-aware model makes mocked tools plausible, a fixture makes one exact, so a simulation can force the branch under test. Never applies to real callers.