Skip to main content
POST
/
frontend-tools
/
result
Deliver a frontend tool execution result.
curl --request POST \
  --url https://api.gleap.io/v3/frontend-tools/result \
  --header 'Content-Type: application/json' \
  --data '
{
  "toolCallId": "<string>",
  "error": "<string>",
  "result": "<unknown>"
}
'
{
  "delivered": true,
  "alreadyCompleted": true,
  "resumed": true,
  "resumeVia": "stream",
  "conversationId": "<string>",
  "agentId": "<string>"
}

Body

application/json
toolCallId
string
required
error
string
result
any

Response

200 - application/json

Ok

delivered
boolean
required
alreadyCompleted
boolean
resumed
boolean
resumeVia
enum<string>
Available options:
stream
conversationId
string
agentId
string