Update agent tool message
PATCH
Update agent tool message

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

slot
object
required

Which of the tool's four messages to write. execution is said when the tool starts (the editor labels it Start), completion when it finishes (Complete), failure when it errors (Failed), delay when it is taking a while (Delayed).

Available options: delay, failure, execution, completion
toolID
string

A tool attached to this agent or playbook. Cannot be used with nativeTool.

nativeTool
object

Body

A tool message in one of its two forms. Writing one form switches the slot to it and leaves the other form stored but inactive, exactly as the editor does — so switching back does not have to be retyped.

Response

200 - application/json

Confirms the message was replaced and which form, generative or scripted, the slot is now in.

message
string
required

A human-readable message confirming the update.

unresolvedReferences
object[]

References this write kept as literal text instead of binding, each with the reason. The write still succeeded.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.