set_text_case
Change text case of a run in a Word document to uppercase, small caps, or remove case transformation.
Instructions
Set text case transformation on a run.
Args: para_id: paraId of the target paragraph. run_idx: Zero-based index of the run. case: "upper" (all caps), "small" (small caps), or "none" (remove case transform).
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>",
"run_idx": "<run_idx>",
"case": "<case>"
},
"name": "set_text_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | Yes | ||
| para_id | Yes | ||
| run_idx | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |