new • Rust AI Agent SDK

new: Create a new task with description

new

Method

</div>

This is a method of the Task class in the task module.

Create a new task with description

Signature

python
def new(description: impl Into<String>) -> TaskBuilder

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField TaskBuilder

The result of the operation.