Skip to main content
Glama

执行已规划 UI 树并返回 UUID 映射;部分失败使用局部补偿

cocos_ui_build
Destructive

Executes a planned UI tree in Cocos Creator and returns UUID mapping for created nodes. Partial failures trigger local compensation to keep the scene consistent.

Instructions

执行已规划 UI 树并返回 UUID 映射;部分失败使用局部补偿

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes
projectIdYes
instanceIdNo
operationIdNo
expectedRevisionNo
runtimeInstanceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.1.0-build.6.1c8b81c
    • addedInput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "children": {
      +        "items": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "maxItems": 200,
      +        "type": "array"
      +      },
      +      "components": {
      +        "items": {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.SafeArea",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.BlockInputEvents",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "opacity": {
      +                      "maximum": 255,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.UIOpacity",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "anchorPoint": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "x": {
      +                          "maximum": 1,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "y": {
      +                          "maximum": 1,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "x",
      +                        "y"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "contentSize": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "height": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "width": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "width",
      +                        "height"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.UITransform",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "alignCanvasWithScreen": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Canvas",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "sizeMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "spriteFrame": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Sprite",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "enableWrapText": {
      +                      "type": "boolean"
      +                    },
      +                    "font": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "fontSize": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "lineHeight": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "overflow": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "string": {
      +                      "maxLength": 10000,
      +                      "type": "string"
      +                    },
      +                    "useSystemFont": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Label",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "clickEvents": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "interactable": {
      +                      "type": "boolean"
      +                    },
      +                    "target": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "transition": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Button",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "cellSize": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "height": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "width": {
      +                          "maximum": 100000,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "width",
      +                        "height"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "paddingBottom": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "paddingLeft": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "paddingRight": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "paddingTop": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "resizeMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "spacingX": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "spacingY": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Layout",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "alignMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "bottom": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "horizontalCenter": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "isAlignBottom": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignHorizontalCenter": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignLeft": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignRight": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignTop": {
      +                      "type": "boolean"
      +                    },
      +                    "isAlignVerticalCenter": {
      +                      "type": "boolean"
      +                    },
      +                    "left": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "right": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "top": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    },
      +                    "verticalCenter": {
      +                      "maximum": 100000,
      +                      "minimum": -100000,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Widget",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "brake": {
      +                      "maximum": 1,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "content": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "elastic": {
      +                      "type": "boolean"
      +                    },
      +                    "horizontal": {
      +                      "type": "boolean"
      +                    },
      +                    "inertia": {
      +                      "type": "boolean"
      +                    },
      +                    "vertical": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.ScrollView",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "checkEvents": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "checkMark": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "componentType": {
      +                          "const": "cc.Sprite",
      +                          "type": "string"
      +                        },
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey",
      +                        "componentType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "interactable": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Toggle",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "backgroundImage": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "editingDidBegan": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "editingDidEnded": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "editingReturn": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "maxLength": {
      +                      "maximum": 10000,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "placeholder": {
      +                      "maxLength": 1000,
      +                      "type": "string"
      +                    },
      +                    "placeholderLabel": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "componentType": {
      +                          "const": "cc.Label",
      +                          "type": "string"
      +                        },
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey",
      +                        "componentType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "string": {
      +                      "maxLength": 10000,
      +                      "type": "string"
      +                    },
      +                    "tabIndex": {
      +                      "maximum": 1000,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "textChanged": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "textLabel": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "componentType": {
      +                          "const": "cc.Label",
      +                          "type": "string"
      +                        },
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey",
      +                        "componentType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.EditBox",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "content": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "nodeKey": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "nodeKey"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "direction": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "pageEvents": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "componentId": {
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "customEventData": {
      +                            "maxLength": 1024,
      +                            "type": "string"
      +                          },
      +                          "handler": {
      +                            "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,63}$",
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "componentId",
      +                          "handler"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 8,
      +                      "type": "array"
      +                    },
      +                    "pageTurningSpeed": {
      +                      "maximum": 60,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "scrollThreshold": {
      +                      "maximum": 1,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "sizeMode": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.PageView",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "font": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "assetUuid": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "assetUuid"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "fontSize": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "lineHeight": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "maxWidth": {
      +                      "maximum": 100000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "string": {
      +                      "maxLength": 10000,
      +                      "type": "string"
      +                    },
      +                    "useSystemFont": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.RichText",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "properties": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "inverted": {
      +                      "type": "boolean"
      +                    },
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 3,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "const": "cc.Mask",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "maxItems": 13,
      +        "type": "array"
      +      },
      +      "key": {
      +        "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 128,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "position": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "x": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "y": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          },
      +          "z": {
      +            "maximum": 100000,
      +            "minimum": -100000,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "x",
      +          "y",
      +          "z"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "name"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / params / properties / document
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "root": {
      +      "$ref": "#/$defs/__schema0"
      +    },
      +    "version": {
      +      "const": 1,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "version",
      +    "root"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / params / properties / planHash
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / params / properties / tree
      Removed value: -{
      -  "additionalProperties": {},
      -  "properties": {},
      -  "type": "object"
      -}
    • changedInput schema / properties / params / required
      Previous value: -[
      -  "tree"
      -]New value: +[
      +  "parentId",
      +  "document",
      +  "planHash"
      +]
  2. First observedv0.1.0

TDQS

D1.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare destructiveHint: true, and the description adds a note about 'partial failure uses local compensation' – a behavioral detail not covered by annotations. However, this note is vague (what is 'local compensation'? what side effects occur?), and it does not disclose destructiveness or any other concrete effects. It adds minimal value beyond the annotation, but does not contradict it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence identical to the title. It is under-specified, not concise; it provides no front-loaded critical information and every word merely repeats what is already in the name. It fails to earn its place as a useful description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (6 parameters, nested document schema, destructive annotation, no output schema), the description is grossly inadequate. It does not explain the return value format (UUID mapping), the meaning of 'planned UI tree', or how partial failure compensation works. An agent cannot safely or correctly invoke this tool based on this description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain parameter meaning, but it provides none. It does not mention projectId, params, parentId, document, planHash, or any of the nested structures. Agents have no semantic guidance for constructing valid inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tautological: description restates name/title.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives. The description does not mention prerequisites, expected inputs (like planHash), or when to prefer this over related build or scene tools. An agent cannot determine the appropriate context from this description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.