add_page
Add a new page (tab) to an existing draw.io diagram by providing the file path and page name.
Instructions
Add a new page (tab) to a draw.io diagram.
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": {
"filePath": "<filePath>",
"pageName": "<pageName>"
},
"name": "add_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .drawio file | |
| pageName | Yes | Name for the new page |