Create an estimate
create_estimateDraft an estimate for a client. Give lines with prices, or — for a contracting business — price_from to price the job from the business's OWN completed work, rate card and markup (the same engine as estimate_job; with nothing to price from it is refused, never guessed). A line with an item and no unit_price is priced by the price rules; a line nothing can price is REFUSED, never $0.00 — ask the user. It is saved as a DRAFT: nothing is sent to the client, and the business may need to approve it before it can be. Usually queued for the account holder to approve (read staged).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Internal note on the estimate. | |
| lines | No | ||
| title | No | ||
| contract | No | Terms, warranty or scope — part of what the client accepts. | |
| entity_id | No | Another entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in. | |
| price_from | No | Contracting businesses only: price the job from their own past work and add it as lines. | |
| customer_id | No | The client, from `list_customers`. Optional, but an estimate cannot be sent without one. | |
| valid_until | No | ISO date after which it can no longer be accepted. | |
| deposit_percent | No | A deposit invoiced when the client accepts. Default: the business's own setting. | |
| message_to_client | No | Printed above the lines and on the client's portal. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The created or updated record's id, when the write was applied rather than staged. | |
| note | No | Why the result was truncated, when it was. | |
| staged | No | TRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done. | |
| draft_id | No | The staged proposal's id, when it was queued rather than performed. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |