add_slide
Append a new slide to an Impress presentation using a specified layout. Returns the updated slide index and total count.
Instructions
Append a slide to an Impress presentation. Returns {index, count}.
A new presentation already has one slide at index 0. layout is an Impress autolayout id (default 1 = title + content).
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": {
"doc_id": "<doc_id>"
},
"name": "add_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| layout | No |