TextEdit: write document
textedit_write_documentReplace the entire text of the frontmost TextEdit document with supplied content so agents can overwrite the document body deterministically.
Instructions
Replace the entire text of the frontmost TextEdit document. (risk: mutating)
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": {
"text": "<text>"
},
"name": "textedit_write_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The new document content. |