Create a quote PDF
create_quote_pdfMakes a professional quote (estimate) PDF for a small service business from the details the user gives: the business name, the customer, and each line item's name, quantity and price, plus an optional tax rate, discount, deposit, note and how many days the quote stays valid. EosLog adds up the subtotal, discount, tax and total, saves the quote behind an unguessable link for 90 days, and returns that link (view, download or email the PDF) and a direct PDF link. Use it when the user wants a quote or estimate to send a customer. It uses the user's prices and never sets them.
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": {
"business_name": "<business_name>",
"line_items": "<line_items>"
},
"name": "create_quote_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional subject line, for example Biweekly house cleaning. | |
| message | No | Optional note to the customer. | |
| tax_rate | No | Sales tax percent on the subtotal after any discount, for example 8.25. The user supplies it. | |
| line_items | Yes | One row per service or item, with the prices the user gives. | |
| valid_days | No | How many days the quote stays valid. | |
| business_name | Yes | The business sending the document, as it should print at the top. | |
| customer_name | No | Who the document is for, a person or a company. Printed as Customer when left out. | |
| business_email | No | Business email to print on it. | |
| business_phone | No | Business phone to print on it. | |
| deposit_percent | No | Optional deposit to schedule the job, as a percent of the total. | |
| discount_percent | No | Optional discount, as a percent off the subtotal. |