示例 CLI 命令
azmcp cloudarchitect design \
[--question <question>] \
[--question-number <question-number>] \
[--total-questions <total-questions>] \
[--answer <answer>] \
[--next-question-needed <TRUE|FALSE>] \
[--confidence-score <confidence-score>] \
[--state <state>]
| 参数 |
类型 |
必选 |
Description |
question |
字符串 |
No |
当前正在被询问的问题 |
question-number |
整数 |
No |
当前问题编号 |
total-questions |
整数 |
No |
所需的估计问题总数 |
answer |
字符串 |
No |
用户对问题的响应 |
next-question-needed |
boolean |
No |
是否需要提出另一个问题。 如果指定该选项但不提供值,则默认值为 true。 |
confidence-score |
number |
No |
介于 0.0 和 1.0 之间的值,表示对理解要求的信心。 当此值达到 0.7 或更高时,将 nextQuestionNeeded 设置为 false。 |
state |
字符串 |
No |
上一个请求中的完整体系结构状态为 JSON。 请参阅此表后面的 JSON 架构。 |
state JSON 架构
{
"state": {
"type": "object",
"description": "The complete architecture state from the previous request",
"properties": {
"architectureComponents": {
"type": "array",
"description": "All architecture components suggested so far",
"items": {
"type": "string"
}
},
"architectureTiers": {
"type": "object",
"description": "Components organized by architecture tier",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"thought": {
"type": "string",
"description": "The calling agent's thoughts on the next question or reasoning process. The calling agent uses the requirements it gathers to reason about the next question."
},
"suggestedHint": {
"type": "string",
"description": "A suggested interaction hint to show the user, such as 'Ask me to create an ASCII art diagram of this architecture' or 'Ask about how this design handles disaster recovery'."
},
"requirements": {
"type": "object",
"description": "Tracked requirements organized by type",
"properties": {
"explicit": {
"type": "array",
"description": "Requirements the user explicitly states",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"source": {
"type": "string"
},
"importance": {
"type": "string",
"enum": [
"high",
"medium",
"low"
]
},
"confidence": {
"type": "number"
}
}
}
},
"implicit": {
"type": "array",
"description": "Requirements implied by user responses",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"source": {
"type": "string"
},
"importance": {
"type": "string",
"enum": [
"high",
"medium",
"low"
]
},
"confidence": {
"type": "number"
}
}
}
},
"assumed": {
"type": "array",
"description": "Requirements assumed based on context and best practices",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"source": {
"type": "string"
},
"importance": {
"type": "string",
"enum": [
"high",
"medium",
"low"
]
},
"confidence": {
"type": "number"
}
}
}
}
}
},
"confidenceFactors": {
"type": "object",
"description": "Factors that contribute to the overall confidence score",
"properties": {
"explicitRequirementsCoverage": {
"type": "number"
},
"implicitRequirementsCertainty": {
"type": "number"
},
"assumptionRisk": {
"type": "number"
}
}
}
}
}
}