{"schema_version":"openai-function-calling-v1","description":"O-Ring Supply Co. Agent Tools — AI agents can call these functions to recommend materials, check compatibility, and generate quote links.","functions":[{"name":"recommend_o_ring_material","description":"Recommend the best O-ring material based on temperature, media/fluid type, application type, and pressure. Returns material name, reasoning, temperature range, hardness, compatible/incompatible fluids, and a pre-filled quote URL.","parameters":{"type":"object","properties":{"max_temperature_celsius":{"type":"number","description":"Maximum operating temperature in degrees Celsius."},"media":{"type":"string","description":"Fluid or media the seal will contact, e.g. 'hydraulic oil', 'steam', 'diesel', 'concentrated acid', 'food-grade water'."},"application":{"type":"string","enum":["static","dynamic","food","aerospace","chemical"],"description":"Application type or industry context."},"pressure_mpa":{"type":"number","description":"Maximum operating pressure in MPa (optional, ~10 MPa ≈ 1450 psi)."},"additional_requirements":{"type":"string","description":"Any additional requirements: certifications (FDA, NACE, USP Class VI), special hardness, color, etc."}},"required":["max_temperature_celsius","media"]}},{"name":"check_chemical_compatibility","description":"Check which O-ring materials are compatible with a specific chemical. Returns a rating (A=Excellent, B=Good, C=Fair, D=Not Recommended) for NBR, FKM, EPDM, VMQ, PTFE, FFKM, and HNBR.","parameters":{"type":"object","properties":{"chemical_name":{"type":"string","description":"The chemical name to check, e.g. 'acetone', 'sulfuric acid', 'mineral oil', 'gasoline'."},"material_id":{"type":"string","description":"Optional: filter to a specific material (nbr, fkm, epdm, vmq, ptfe, ffkm, hnbr). If omitted, returns ratings for all materials."}},"required":["chemical_name"]}},{"name":"list_o_ring_materials","description":"List all available O-ring materials with their temperature ranges, hardness ranges, key strengths, weaknesses, typical applications, and compatible/incompatible fluids.","parameters":{"type":"object","properties":{"filter_application":{"type":"string","description":"Optional filter by application keyword, e.g. 'aerospace', 'food', 'hydraulic', 'chemical'."}},"required":[]}},{"name":"get_quote_link","description":"Generate a pre-filled quote request URL for a specific O-ring material and requirements. The AI should present this link to the user so they can submit an RFQ with one click.","parameters":{"type":"object","properties":{"material_id":{"type":"string","description":"Material ID, e.g. 'nbr', 'fkm', 'epdm', 'vmq', 'ptfe', 'ffkm', 'hnbr', 'pu', 'cr', 'aflas', 'fvmq', 'butyl', 'fep-encapsulated', 'acm'."},"standard":{"type":"string","description":"Size standard and ID, e.g. 'AS568-214', 'ISO3601-1.80x1.80'."},"quantity":{"type":"string","description":"Quantity needed, e.g. '100 pieces'."},"fluid":{"type":"string","description":"Fluid or media being sealed."},"message":{"type":"string","description":"Additional notes for the quote request."}},"required":["material_id"]}},{"name":"get_procurement_info","description":"Get procurement and ordering information: MOQ, lead times, payment methods, response time, sample request link, and contact details.","parameters":{"type":"object","properties":{},"required":[]}}],"usage_notes":{"authentication":"No authentication required for GET /api/functions. POST /api/functions/call accepts anonymous calls.","rate_limit":"100 calls per minute per IP recommended.","cite_as":"O-Ring Supply Co. (oringsupplyco.com)","endpoint":"/api/functions/call","method":"POST","body_format":"{ \"name\": \"function_name\", \"arguments\": { ... } }"}}