set_image_alt_text
Set accessibility alt text and optional title on embedded images in Word documents to improve document accessibility.
Instructions
Set accessibility alt text and title on an embedded image.
Args: rId: The relationship ID of the image. alt_text: Alt text (descr attribute on wp:docPr). title: Optional title attribute on wp:docPr.
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": {
"rId": "<rId>",
"alt_text": "<alt_text>"
},
"name": "set_image_alt_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rId | Yes | ||
| title | No | ||
| alt_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |