Teach the pricing engine
pricing_record_outcomeRecord job outcomes to feed the pricing learning loop, improving future quotes by adjusting rates based on actual costs and win/loss data.
Instructions
Record a job outcome (won/lost, quoted rate, actual cost per sqft, margin) into the pricing learning loop. Wins at healthy margins pull future quotes for that surface+depth toward what actually works — every job makes the next quote smarter.
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": {
"jobId": "<jobId>",
"surface": "<surface>",
"depth": "<depth>",
"sqft": "<sqft>",
"quotedRate": "<quotedRate>",
"actualCostPerSqft": "<actualCostPerSqft>",
"won": "<won>"
},
"name": "pricing_record_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| won | Yes | ||
| sqft | Yes | ||
| depth | Yes | ||
| jobId | Yes | ||
| surface | Yes | ||
| quotedRate | Yes | $/sqft quoted | |
| actualCostPerSqft | Yes |