Tools · Planning and checking

task_create

Changes things

Add 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 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

NameTypeDescription
subject*stringA short title
description*stringWhat the task involves
activeFormstringA present-tense label shown while it runs
metadataobjectAny extra details to keep

* required

Plan the work, weigh options, and check results before answering.