export_selection
Export the current selection to a file, using the extension to determine the format. Works when the target engine is unknown; fails if no exporter exists for that extension.
Instructions
把当前选择按文件扩展名对应的格式导出(引擎未知时很有用)。导出器不存在会报错。 [English] Export the current selection using the format implied by the file extension (handy when the engine is unknown). Fails if the exporter for that extension is missing.
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": {
"path": "<path>"
},
"name": "export_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 输出文件路径,扩展名决定格式。 | Output path; the extension decides the format. |