create Task Output • TypeScript AI Agent SDK
createTaskOutput: API reference for createTaskOutput
createTaskOutput
Function
</div>
This function is defined in the task module.
Signature
def createTaskOutput(taskId: string,
status: 'success' | 'failure' | 'partial',
result?: any,
error?: string) -> TaskOutputReturns
ResponseField
TaskOutputThe result of the operation.
Source
View on GitHubsrc/task/index.ts at line 30