eda_sys_file_manager_get_document_source
Obtain the source code of the currently open EasyEDA Pro document. Returns undefined when no document is open or data cannot be fetched.
Instructions
sys_FileManager.getDocumentSource() -> Promise<string | undefined>
获取文档源码
returns: 文档源码数据,undefined 表示当前未打开文档或数据获取失败
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eda_sys_file_manager_get_document_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |