create_panel_clone
Clone an existing template offline to create a dynamic panel and insert a state package, using session context to omit source and output paths when needed.
Instructions
克隆真实模板离线创建动态面板并插入状态包。具名调用省略宿主源/输出即使用会话链;原始 args 用 session:true 并省略这两个参数(多源工具保留导入源)。显式路径不推进链。 登记证据 gui-roundtrip,只适用 capabilities.md 的已验样本。CLI: node create-panel-clone.mjs <src.rp> <out.rp> [state...] [--x N --y N --w N --h N] [--page-index N]
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": "create_panel_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| session | No | true 时 args 省略宿主源和输出,由当前链注入;多源工具仍传导入源。 |