Skip to main content
POST
Attach a tool to a scenario

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

Scenario UUID.

id
string<uuid>
required

Tool definition UUID.

Body

application/json
active
boolean
default:true

Set false to attach but hide from the LLM (staging).

position
integer
default:0

Display order in the UI.

Required range: x >= 0

Response

Already attached — the existing attachment row is returned unchanged.

data
object

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