Edit a sent message and get a new answer
deepseek_edit_messageReplace an earlier DeepSeek chat message with corrected or clearer text and get a new answer, defaulting to your latest message so you avoid sending a separate correction.
Instructions
Replace one of YOUR earlier messages in a DeepSeek chat and get DeepSeek's answer to the new text, like the pencil Edit button on the site. Use it when a message was unclear or wrong instead of sending a correction. Defaults to your latest message. Anything after the edited message is no longer part of the active conversation (the site keeps it as an older version), and the chat continues from the new answer.
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": {
"prompt": "<prompt>"
},
"name": "deepseek_edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | The chat to edit: id, title, or a unique part of the title. | |
| model | No | deepseek-web (default), deepseek-web-thinking, or deepseek-web-expert. | |
| prompt | Yes | The replacement text for your message. | |
| search | No | Turn web search on for the new answer. | |
| thinking | No | Turn deep thinking on or off for the new answer. | |
| message_id | No | Which of your messages to replace (see deepseek_read_chat ids). Default: your latest message. | |
| conversation_id | No | Or the conversation_id returned by deepseek_ask. | |
| include_reasoning | No | Also return the model's thinking text when available. |