v1

latestOpenAPI 3.1.02026-07-1711022.5 KB

Handle Tool Input

Submit user input for a tool call during task execution

post/task/{taskId}/run/tool-input

Path parameters

taskIdstring required
Example:task_123

The ID of the task

Query parameters

runIdstring
Example:run_456

The ID of the run. If not provided, applies to the most recent run.

Request body

inputstring required

The user input for the tool call

toolCallIdstring

Optional ID of the specific tool call to respond to

Example request

{
  "input": "Yes, proceed with the action",
  "toolCallId": "tool_789"
}

Response

Successful response

successboolean

Indicates if the request was successful

errorstring

Error message if the request failed

Example response

{
  "success": true
}