Skip to main content
POST
Submit tool-call input

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose builder chat this request acts on.

Body

application/json
tool_call_id
string
required

ID of the tool call to answer. Read it off the waiting assistant message returned by Read conversation messages.

Example:

"toolu_01A9FJd3kP2mNqRs7VwXyZ4b"

action
enum<string>
required

Whether to let the tool call run or turn it down. Rejecting tells the builder to continue without doing that step.

Available options:
approved,
rejected
Example:

"approved"

message_id
string

ID of the message the tool call belongs to. Some tools use it to report progress.

Example:

"7f3a1c88-52d4-4a0e-9b31-2c6f0d8e4a19"

Response

The app once the resumed turn finished.

The app document the chat endpoints return once a turn settles.

The real payload is the whole app document, so this is a strict subset: the fields a caller needs to see what the turn did and whether it succeeded.

id
string | null

ID of the app.

Example:

"6820f3a4e7b91d003c45a1f2"

name
string | null

Display name of the app.

Example:

"My CRM"

status
AppStatusResponse · object | null

The app's build status once the request returned. Read state to tell a finished turn from one that is still processing or that failed.

conversation
ChatTurnConversation · object | null

The app's conversation, including the messages this request produced.