插入秀米模板
xiumi_insert_templateInsert a selected Xiumi template into the current article at the cursor or end, returning component IDs and text/image slots for later editing.
Instructions
把模板插入当前文章(追加到末尾),返回新增组件的 ID、文本槽和图片槽。插入后可用 xiumi_fill_text 填字、xiumi_set_image 换图。
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": {
"templateId": "<templateId>"
},
"name": "xiumi_insert_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | 插入位置:end 追加到文末(默认),cursor 插入到当前光标处 | |
| templateId | Yes | 模板 ID,来自 xiumi_search_templates |