duplicate_page
Copies an existing page by name or --index record number to create a new page, using the active session chain when source and output paths are omitted.
Instructions
按页名(或 --index 记录号)复制已有页面生成新页。具名调用省略宿主源/输出即使用会话链;原始 args 用 session:true 并省略这两个参数(多源工具保留导入源)。显式路径不推进链。 登记证据 gui-roundtrip,只适用 capabilities.md 的已验样本。CLI: node duplicate-page.mjs source.rp output.rp sourceName newName
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": {
"args": "<args>"
},
"name": "duplicate_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| session | No | true 时 args 省略宿主源和输出,由当前链注入;多源工具仍传导入源。 |