Skip to main content
PATCH
Update a scenario-tool attachment

Authorizations

Authorization
string
header
required

API key from waterr.ai/settings?tab=api-keys. Send as Authorization: Bearer wai_<your_key>.

Path Parameters

scenarioId
string<uuid>
required
id
string<uuid>
required

Tool definition UUID.

Body

application/json
active
boolean

Set to false to hide the tool from the LLM on this scenario without detaching it.

position
integer
Required range: x >= 0

Response

Attachment updated.

data
object

Links a tool to a scenario. The tool is advertised to the LLM only when active = true.