word_session_wrap_selection
Wrap the current selection in Word with a content control using a stable tag and optional title for structured document editing.
Instructions
Write. Ask the Office.js taskpane to wrap the current Word selection in a content control with a stable tag/title.
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": {
"tag": "<tag>"
},
"name": "word_session_wrap_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| wait | No | ||
| title | No | ||
| session_id | No | ||
| timeout_seconds | No |