publish_quote
Publishes a finalized quote draft by building and saving its cards, verifying the list on the Huawei Cloud calculator, and returning a share link; failed checks delete the list.
Instructions
Publish a fully decided draft: builds the cards, saves the list, verifies it on the website and returns the link.
Needs a login (auth_login). Confirm the totals with the user first. A failed check deletes the list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft_id": "<draft_id>",
"name": "<name>"
},
"name": "publish_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| currency | No | USD | |
| draft_id | Yes | ||
| settlement | No | total |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||