create_powerpoint_from_template
Generate a PowerPoint presentation from POM XML, reusing the background of an existing PPTX template to maintain branding.
Instructions
【テンプレート使用時】ユーザーが既存のPowerPointファイルをテンプレートとして使用する場合に使用します。テンプレートの背景(背景色や画像)を継承し、新しいスライドを生成します。
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": {
"templatePath": "<templatePath>",
"xml": "<xml>",
"outputPath": "<outputPath>"
},
"name": "create_powerpoint_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | POM形式のXML文字列。<Slide>要素で各スライドを定義。複数スライドの場合は複数の<Slide>要素を並べる。 | |
| width | No | スライドの幅(ピクセル)。デフォルト1280 | |
| height | No | スライドの高さ(ピクセル)。デフォルト720 | |
| outputPath | Yes | 生成するPowerPointファイルのパス。例: './presentation.pptx' | |
| templatePath | Yes | テンプレートとして使用する.pptxファイルのパス。このファイルの背景(背景色や画像)が新しいプレゼンテーションに適用される。例: './template.pptx', 'C:/Users/templates/company_template.pptx' |