Continue conversation with tool task update

Updates a tool task and continues the conversation if appropriate. This endpoint:

  1. Optionally updates the tool task with provided data (if request body is provided)
  2. Checks if the tool task state requires AI continuation (input-required, completed, failed)
  3. If the entry is the last entry in the discussion and AI continuation is needed, streams the AI response
  4. Otherwise, returns the discussion entry with updated tool task information

This is the preferred endpoint for frontend applications that want to update tool tasks and potentially trigger AI responses.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the discussion

string
required

The unique identifier of the tool task

Body Params

Optional tool task update data. If not provided, only triggers continuation without updating the task.

string
enum
required

New state for the tool task

Allowed:
string

Optional status message

string

Tool execution response (required when state is completed)

Headers
string
required

JWT authentication token

Responses

400

Bad request - validation failed, tool task not connected to entry, or other error

401

Unauthorized - invalid or missing authentication

404

Discussion, entry, or tool task not found

500

Internal server error

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/x-ndjson