insert_text
Insert text at the current cursor position in an HWP document. Provide the document ID and text to add, and receive insertion confirmation.
Instructions
Insert text at the current cursor position.
Args: doc_id: Document ID from open_document text: Text to insert
Returns: Insertion confirmation
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": {
"doc_id": "<doc_id>",
"text": "<text>"
},
"name": "insert_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| doc_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||