create Task Output • TypeScript AI Agent SDK

createTaskOutput: API reference for createTaskOutput

createTaskOutput

Function

</div>

This function is defined in the task module.

Signature

python
def createTaskOutput(taskId: string,
  status: 'success' | 'failure' | 'partial',
  result?: any,
  error?: string) -> TaskOutput

Returns

ResponseField TaskOutput

The result of the operation.

Source

View on GitHub

src/task/index.ts at line 30


Related Documentation