让 Codex 在易语言 5.95 中读写代码、设计窗口并运行程序。项目交流 QQ 群:262430517。
Server has 20 tools with explicit schemas and descriptions. Naming follows verb_noun pattern (project_get_active, code_read_current, ui_create). Descriptions are present (avg ~120 chars) but many lack actionable context for LLM selection. Schemas use Zod with type constraints (enums, min/max), but output schemas are undocumented. Tool annotations (readOnlyHint, destructiveHint) are correctly applied. Major gaps: no error recovery guidance, missing parameter descriptions in complex tools (code_batch, ui_apply_operations), and no pagination/result limits despite tools returning potentially large datasets.
按行列修改当前代码表;修订冲突、目标单元类型错误或写后回读不一致时拒绝操作。
一次提交多项结构插入与单元格修改;严格校验代码单元类型,失败时自动撤销整批。不会逐行编译。
只读扫描空语句、空参数及空局部变量。易语言 5.95 的官方撤销接口无法可靠保证整批回滚,因此当前版本禁止实际删除。
Insert native E-language code unit
Move the official IDE code caret without simulating input. Useful after opening a project whose code table has not initialized yet.
通过官方 FN_GET_PRG_TEXT 接口读取当前活动代码表。
通过官方 IDE 接口读取指定绝对行范围;用于大型代码表的精确定位,不修改工程。
code_batch and ui_apply_operations use discriminatedUnion with incomplete schema visibility. The 'operations' array items lack documented structure, making it impossible for LLMs to construct valid payloads.
No output schemas documented for any tool. LLMs cannot predict return structure, forcing them to guess field names for downstream tool chaining. E.g., code_read_current returns 'cells' but this is inferred, not documented.
No error recovery guidance. Tools like code_apply_current reject on 'revision conflict' or 'type mismatch' but descriptions do not explain what the LLM should do next (retry with fresh revision? call code_read_current first?).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | 2026-07-28+ | v2 |
读取易语言 5.95 IDE 桥接状态,不修改工程。
返回 IDE 当前打开且已保存的 .e/.e8 工程与代码修订号。
选择随 MCP 提供的干净工程模板,并通过官方 FN_OPEN_FILE2 打开;不会弹出新建类型选择窗口。
先通过官方 FN_SAVE_FILE 保存当前工程,再用 FN_OPEN_FILE2 打开 .e/.e8;不会弹出保存确认框。
清除运行时事件跟踪日志
读取运行时事件跟踪日志
批量应用 UI 操作
绑定 UI 事件处理器
为当前工程创建新的 Codex UI 设计文档
生成易语言源代码框架
读取当前工程的 Codex UI 设计文档
删除 UI 控件
插入或更新 UI 控件
code_read_current and code_read_range accept maxRows up to 20,000 with no pagination support. Large results could exhaust context window. No limit guidance in descriptions.
ui_upsert_control accepts a bare 'control' object with no schema documentation. LLMs cannot determine required fields, valid properties, or nested structure.