Skip to main content
POST
/
tools
/
result
Submit tool result
curl --request POST \
  --url https://api.buildwithtrace.com/api/v2/tools/result \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tool_call_id": "<string>",
  "result": "<string>"
}
'

Authorizations

Authorization
string
header
required

JWT access token. Get one via POST /auth/login or from the Trace app (Settings → API Token). Tokens expire after 1 hour.

Body

application/json
tool_call_id
string
required
result
string
required

Tool execution output

Response

200

Tool result accepted