r7_desktop_selection
Gets or replaces the selected text in the active R7-Office Desktop window, enabling programmatic reading or insertion into the current document.
Instructions
Get or replace selected text in the currently active R7-Office Desktop editor window.
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": {
"action": "<action>"
},
"name": "r7_desktop_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to paste when action is replace. | |
| action | Yes | Get or replace active selection. |