Create a durable task
tasks_createCreate a persistent async task handle that survives restarts, ideal for launching long-running work to poll or list later. Ensures job continuity across process crashes.
Instructions
Create a durable async task handle (pending) that survives process restart when the sqlite tasks backend is enabled. Use to start long-running work you will poll with tasks_get or list with tasks_list. Do not use to store facts (memory_write) or plans (plan_cache_put). Mutating, not idempotent. ttl_ms controls handle expiry hint. Auth: tool policy gate + plan quota.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_ms | No | Suggested time-to-live in milliseconds. Default 3600000 (1 hour). | |
| metadata | No | Optional JSON metadata stored with the task. | |
| tool_name | No | Optional originating tool or job label stored on the handle. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||