Tools · Planning and checking
task_create
Changes thingsAdd a task to the run's task list.
When to use: Break multi-step work into tasks, then mark each in_progress and completed as you go.
Example
Run for real by scripts/tool-examples.py in a small demo project, with Haiku 5.5 where the tool calls a model. The output is exactly what the tool returned.
The call
{
"tool": "task_create",
"arguments": {
"subject": "Add annual billing",
"description": "Price a yearly plan at ten months' cost.",
"activeForm": "Adding annual billing"
}
}Real output
{"task": {"id": "1", "subject": "Add annual billing"}}Parameters
| Name | Type | Description |
|---|---|---|
| subject* | string | A short title |
| description* | string | What the task involves |
| activeForm | string | A present-tense label shown while it runs |
| metadata | object | Any extra details to keep |
* required
More in Planning and checking
Plan the work, weigh options, and check results before answering.