edit_shape_paragraphs
Replace a shape's paragraph content with raw OOXML while preserving body properties and list styles; read the current XML first, then write back the modified paragraphs.
Instructions
Replace paragraph content of a shape with raw OOXML <a:p> XML. Preserves <a:bodyPr> and <a:lstStyle>. Use read_shape_paragraphs first to get the current XML, modify it (using /pptx skill knowledge), then write it back. The slide is exported, modified server-side, and reimported — data never enters Claude's context.
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": {
"slideIndex": "<slideIndex>",
"shapeId": "<shapeId>",
"xml": "<xml>"
},
"name": "edit_shape_paragraphs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The <a:p> paragraph XML to replace the current text body content with | |
| shapeId | Yes | Shape ID from inspect_slide results | |
| slideIndex | Yes | Zero-based slide index | |
| presentationId | No | Target presentation ID from list_presentations. Optional when only one presentation is connected. |