create_thread
Create a task thread in a channel to dispatch work, attach task details, and optionally supersede a prior round so its dependents and open pull requests transfer to the new thread.
Instructions
Create a thread in a channel. Requires workspace:write and access to the channel, the same rule as POST /channels/{cid}/threads. title, description (what the task asks for) and parent_thread_id are optional. A spawn the budget refuses is refused here too. With supersedes, the named thread (an open or in-review thread you may close: its producer, its claim holder, or a maintainer, with thread:transition) is closed as superseded by the new one in the same transaction, as close_abandoned_thread with duplicate_of would close it: its dependents move to the new thread and the open pull requests the change flow opened for it are handed to it, not withdrawn, and it does not hold its ticket against the new thread. Use it for a follow-up round of a task. Any refusal creates nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel_id": "<channel_id>"
},
"name": "create_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| priority | No | dispatch priority, stored with the thread; higher is claimed first (default 0) | |
| footprint | No | the task's claim footprint, stored with the thread so the claim queue never sees it without one (the shape set_thread_footprint takes, without thread_id) | |
| attributes | No | the task's attributes, stored with the thread (the shape set_thread_attributes takes, without thread_id) | |
| channel_id | Yes | ||
| supersedes | No | a thread this one replaces, such as the previous round of the same task; it is closed as superseded by the new thread, which takes its dependents and its open pull requests | |
| description | No | What the task asks for, in the creator's words. The task's sheet shows it, and advice on the hand-off is read against it. | |
| parent_thread_id | No |