Get a tool call result

View as Markdown

Retrieve the result for an authorized tool call; a pending call returns its current state so callers can poll again.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

toolCallIdstringRequired
Unique toolCall identifier generated by BCTRL.

Headers

BCTRL-Subaccount-IdstringOptional
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.

Query parameters

waitSecondsintegerOptional0-60Defaults to 0

Response

OK

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error