Auftragsentwurf aus qualifizierter Verkaufschance vorbereiten
prepare_sales_service_orderFor an explicitly requested order preparation: read the opportunity with get_sales_learning and its bindingRevision with get_sales_outcome_sources first. Creates or reuses exactly one incomplete existing service-order draft for the established customer and atomically records its sales-learning relationship. Copies the pinned internal offer title/scope only; never treats hypothesis prices or terms as approved contract data. Requires current CRM read/write, Operations read, business:write consent and owner Operations write authority at commit. An existing source link blocks a new preparation; use link_sales_outcome for an intentional correction. Reuse requestKey and identical revisions on retry. Returns the existing order even after it progressed; never reopens it or restores a later corrected link. Review and complete the returned source order through the existing offer workflow. No message, offer acceptance, payment link, invoice or capacity reservation. No tenant selector.
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": {
"opportunityId": "<opportunityId>",
"expectedLearningRevision": "<expectedLearningRevision>",
"expectedBindingRevision": "<expectedBindingRevision>",
"requestKey": "<requestKey>"
},
"name": "prepare_sales_service_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestKey | Yes | New UUID for a new preparation. Reuse the same UUID and identical inputs on retry; prior orders and later link corrections are never replayed as new effects. | |
| opportunityId | Yes | Existing opportunity ID from get_sales_learning; its customer must already be established. | |
| expectedBindingRevision | Yes | Current bindingRevision from get_sales_outcome_sources. A new preparation requires an unlinked source; existing links are never replaced. | |
| expectedLearningRevision | Yes | Exact current opportunity revision; a changed or archived opportunity blocks a new draft. |