Ticket Plan
ticket_planPreview or idempotently commit an owner-private ticket tree generated from a planning prompt or supplied structured plan. Requires tickets:write. A preview without a supplied plan invokes the planner model and additionally requires councils:run; supplied-plan preview and commit are provider-free and need only tickets:write. Preview is non-mutating and returns the normalized commit payload, an exact preview_token, and deterministic predicted ticket IDs as JSON. To commit, combine that commit_payload with mode=commit, the caller-held idempotency_key, and that exact preview_token; the response returns the same IDs plus replay status. A caller-stable visible-ASCII idempotency_key is always required. This creates only in-platform planning tickets; it never runs them, sends, publishes, deletes, or changes an external provider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| plan | No | ||
| model | No | ||
| prompt | Yes | ||
| context | No | ||
| session_id | No | ||
| auto_assign | No | ||
| max_tickets | No | ||
| preview_token | No | Exact preview_token returned by preview mode. | |
| idempotency_key | Yes | Caller-stable visible-ASCII key. Reuse only for the exact same operation and payload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |