post_process_powerpoint
Fix text overflow in PowerPoint presentations by enabling text wrapping and shrink-to-fit for text boxes containing long content.
Instructions
Apply post-processing to a PowerPoint presentation to optimize text boxes.
This function enables text wrapping and shrink text on overflow for text boxes that contain text longer than the specified threshold.
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": {
"input_file": "<input_file>"
},
"name": "post_process_powerpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file | Yes | Path to the input PowerPoint file (.pptx) | |
| output_file | No | Path to save the processed file (optional, auto-generated if not provided) | |
| enable_autofit | No | Enable text auto-fitting (default: True) | |
| text_threshold | No | Text length threshold for enabling auto-fit (overrides .env setting) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |