calculate_textbook_cost
Net cost of buying new, buying used, renting, and digital for a textbook. Purchase options are reduced by the resale value (floored at zero), and the cheapest option is returned. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive Textbook Cost calculator.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rent_price | Yes | Rental price in USD. | |
| resale_value | Yes | Expected resale value after the term in USD. | |
| buy_new_price | Yes | Price to buy the book new in USD. | |
| digital_price | Yes | Digital edition price in USD. | |
| buy_used_price | Yes | Price to buy the book used in USD. |