Skip to main content

uemcp-manifest-type-hints

النجوم١٧
التفرعات٩
آخر تحديث٣١ مارس ٢٠٢٦ في ٠٥:٠٩

Fix silent tool registration failures in UEMCP when Python function parameters use modern union syntax (str | None) instead of Optional[str]. Use when: (1) MCP tools silently lose optional parameters in their JSON schema, (2) new ops module parameters all show as required when they should be optional, (3) manifest generator falls through to string type for Optional parameters. The manifest generator's get_origin() check only matches typing.Union, not types.UnionType from Python 3.10+ pipe syntax.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly