範例 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>]
| 參數 |
類型 |
Required |
Description |
question |
字串 |
否 |
當前提出的問題 |
question-number |
整數 |
否 |
當前問題編號 |
total-questions |
整數 |
否 |
預計所需的問題總數 |
answer |
字串 |
否 |
使用者對問題的回應 |
next-question-needed |
boolean |
否 |
是否還需要再問一個問題。 如果你在沒有值的情況下包含開關,它就會預設為 true。 |
confidence-score |
number |
否 |
介於 0.0 和 1.0 之間的值,代表瞭解需求的信賴度。 當此值達到 0.7 或以上時,設 nextQuestionNeeded 為 false。 |
state |
字串 |
否 |
上一個請求的完整架構狀態為 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"
}
}
}
}
}
}