{"ok":true,"data":{"tool":{"slug":"weighted-grade-calculator","name":"Weighted Grade Calculator","section":"calculators","category":"Education","subcategory":"Grades & Scores","url":"/calculators/grades-and-scores/weighted-grade-calculator/","status":"live","api_mode":"execute","webmcp_mode":"execute","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Calculate a weighted course average with editable categories, contribution points, total-weight validation, and a letter-grade estimate.","input_schema":{"type":"object","properties":{"components":{"type":"string","description":"Lines formatted as name|score|weight."}},"required":["components"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"final_grade":{"type":"number","description":"Normalized weighted average."},"letter_grade":{"type":"string","description":"Estimated A–F letter."},"total_weight":{"type":"number","description":"Weight sum."},"weighted_points":{"type":"number","description":"Points toward a 100% course."},"normalized":{"type":"boolean","description":"Whether weights total 100%."},"categories":{"type":"array","description":"Contribution rows.","items":{"type":"object"}}},"additionalProperties":false},"examples":[{"title":"Homework and exams","description":"Homework supplies 20% of the course and exams supply 80%.","input":{"components":"Homework|90|20\nExams|80|80"},"output":{"final_grade":82,"letter_grade":"B","total_weight":100,"weighted_points":82,"normalized":true,"categories":[{"name":"Homework","score":90,"weight":20,"contribution":18},{"name":"Exams","score":80,"weight":80,"contribution":64}]}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"4e302170f8dc8da78b90890a"}