insert_code_block
Insert a code block paragraph after a specified paragraph in a Word document. Uses Courier New 10pt font with light-gray background shading.
Instructions
Insert a code-block paragraph after the given paragraph.
The new paragraph uses Courier New 10pt with light-gray background shading.
Args: para_id: paraId of the reference paragraph (new para inserted after it). text: Code text content. language: Optional language hint (stored in return value only).
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": {
"para_id": "<para_id>",
"text": "<text>"
},
"name": "insert_code_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| para_id | Yes | ||
| language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |