message_update
Replace one exact span of text inside your own earlier Mattermost message, leaving the rest of it untouched. oldText must appear exactly once in that message; copy it verbatim from a message_search preview or from the message you sent. 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, because it can only change text you quoted. If oldText does not match, the call fails without changing anything and returns the message as it currently reads, so retry with a span copied from that. To rewrite a long message wholesale, read it in full first with message_search messageIDs and quote what you read. `external_write` · v2
Authorization
memberToken Tokens
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
text/plain
text/plain
text/plain
text/plain
curl -X POST "https://example.com/tools/message_update/invoke" \ -H "Content-Type: application/json" \ -d '{ "input": { "messageID": "string" } }'{ "toolName": "string", "status": "string", "content": "string", "isError": true, "message": "string", "errorCode": "string", "retryable": true, "result": null}message_send POST
Send a Mattermost message to a direct message, channel, or the current conversation after approval. attachments uploads workspace files, such as an inbound image original, with the message. `external_send` · approval · v3
person_list POST
List the people in this workspace with their exact name, email, @handle, and mention. Call this to answer who a person is, and whenever a message names someone partly or by a given name alone, so the exact name can be passed instead of the fragment. Person hints on the task tools resolve against exactly this list. `read` · v1