Skip to content

Report a browser-executed agent tool failure

POST
/api/agent/client-tool-failure
object
workspaceId
required
string
chatId
required
string
<= 128 characters
toolName
required
string
>= 1 characters <= 128 characters
toolCallId
required
string
>= 1 characters <= 256 characters
error
required
string
>= 1 characters <= 2000 characters
code
string
<= 128 characters

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message