internkim
ToolsEvery tool

message_update

Change a message the assistant or the requester wrote.

Namespacemessage
Effectexternal_write
Approvalnot required
Presencenot required
Privacyplatform_message
Versionv3

What the model reads

Change a message the assistant or the requester wrote. To correct it, pass oldText, one exact span copied verbatim from a message_search preview or from the message you sent, and newText; the rest stays untouched, and oldText must appear exactly once or the call fails without changing anything and returns the message as it currently reads, so retry with a span copied from that. To rewrite it, pass text, which replaces the whole message; read it in full first with message_search messageIDs. This is the tool for every correction to something you already posted: when the user points out a mistake, fix that message instead of posting a correction as a new one. It runs immediately without asking the user to confirm. attachments uploads workspace files into the edited message; pass it alone to add a file, such as an inbound image original, without changing the text.

Call it over HTTP

POST /tools/message_update/invoke