{"openapi":"3.1.0","info":{"title":"Aquant MCP Server","version":"1.0.0"},"paths":{"/part-catalog-lookup":{"post":{"summary":"Part Catalog Lookup","description":"Look up part information from the catalog using a triage product ID and a user question.\n\nArgs:\n payload: The request body containing triage_product_id and question.\n tenant_id: [TEMPORARY] The tenant ID. This should be removed in the future.\n db_session: Mock database session (ready for future replacement with real DB)","operationId":"part_catalog_lookup","parameters":[{"name":"tenant_id","in":"query","required":true,"schema":{"type":"string","description":"[TEMPORARY] The tenant ID. This should be removed in the future.","title":"Tenant Id"},"description":"[TEMPORARY] The tenant ID. This should be removed in the future."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartCatalogLookupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartCatalogLookupResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/part-info":{"post":{"summary":"Part Info","description":"Retrieve detailed part information given catalog data from the lookup tool.\n\nArgs:\n payload: The request body containing catalog_data.\n tenant_id: [TEMPORARY] The tenant ID. This should be removed in the future.\n db_session: Mock database session (ready for future replacement with real DB)","operationId":"part_info","parameters":[{"name":"tenant_id","in":"query","required":true,"schema":{"type":"string","description":"[TEMPORARY] The tenant ID. This should be removed in the future.","title":"Tenant Id"},"description":"[TEMPORARY] The tenant ID. This should be removed in the future."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartInfoRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartInfoResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/part-sources":{"post":{"summary":"Part Sources","description":"Retrieve sources for parts given catalog data, model, and question.\n\nArgs:\n payload: The request body containing catalog_data, model, and question.\n tenant_id: [TEMPORARY] The tenant ID. This should be removed in the future.\n db_session: Mock database session (ready for future replacement with real DB)","operationId":"part_sources","parameters":[{"name":"tenant_id","in":"query","required":true,"schema":{"type":"string","description":"[TEMPORARY] The tenant ID. This should be removed in the future.","title":"Tenant Id"},"description":"[TEMPORARY] The tenant ID. This should be removed in the future."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartSourcesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartSourcesResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent-data":{"post":{"summary":"Agent Data","description":"Retrieve agents and their proficiency scores based on an observation name.\n\nArgs:\n payload: The request body containing observation_name.","operationId":"agent_data","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDataRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDataResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/technician-proximity":{"post":{"summary":"Technician Proximity","description":"Retrieve technicians and their proximity to an asset location.\n\nArgs:\n payload: The request body containing asset_location and technicians.","operationId":"technician_proximity","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnicianProximityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnicianProximityResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/observation-existence":{"post":{"summary":"Observation Existence","description":"Check if an observation exists in the loaded data.\n\nArgs:\n payload: The request body containing observation_name.","operationId":"observation_existence","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservationExistenceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservationExistenceResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/asset-location":{"post":{"summary":"Asset Location","description":"Retrieve the location of an asset based on its ID.\n\nArgs:\n payload: The request body containing asset_id.","operationId":"asset_location","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetLocationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetLocationResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preventive-maintenance-check-list":{"post":{"summary":"Preventive Maintenance Check List","description":"Generate a preventive maintenance check list for a model or asset.\n\nArgs:\n payload: The request body containing asset_id.","operationId":"preventive_maintenance_check_list","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreventiveMaintenanceCheckListRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreventiveMaintenanceCheckListResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/summary-report":{"post":{"summary":"Summary Report","description":"Generate a summary report for a chat history.","operationId":"summary_report","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryReportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryReportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/next-symptom":{"post":{"summary":"Next Symptom","description":"Generate a next symptom for an asset based on its ID.","operationId":"next_symptom","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextSymptomRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextSymptomResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health Check","operationId":"health_check","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AgentDataRequest":{"properties":{"observation_name":{"type":"string","title":"Observation Name","description":"The observation name to search for agents and proficiency scores."}},"type":"object","required":["observation_name"],"title":"AgentDataRequest"},"AgentDataResult":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"agents":{"items":{"$ref":"#/components/schemas/AgentInfo"},"type":"array","title":"Agents","default":[]}},"type":"object","required":["status"],"title":"AgentDataResult"},"AgentInfo":{"properties":{"event_agent_name":{"type":"string","title":"Event Agent Name"},"proficiency_score":{"type":"number","title":"Proficiency Score"},"location":{"type":"string","title":"Location"}},"type":"object","required":["event_agent_name","proficiency_score","location"],"title":"AgentInfo"},"AgentUsed":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"highlights":{"items":{"type":"string"},"type":"array","title":"Highlights","default":[]}},"type":"object","required":["id","name","status"],"title":"AgentUsed"},"AssetLocationInfo":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"location":{"type":"string","title":"Location"}},"type":"object","required":["asset_id","location"],"title":"AssetLocationInfo"},"AssetLocationRequest":{"properties":{"asset_id":{"type":"string","title":"Asset Id","description":"The asset ID to look up location for."}},"type":"object","required":["asset_id"],"title":"AssetLocationRequest"},"AssetLocationResult":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"asset_location":{"$ref":"#/components/schemas/AssetLocationInfo"}},"type":"object","required":["status"],"title":"AssetLocationResult"},"BlockingRule":{"properties":{"if_value":{"type":"string","title":"If Value"},"block":{"type":"boolean","title":"Block"}},"type":"object","required":["if_value","block"],"title":"BlockingRule"},"FormField":{"properties":{"key":{"type":"string","title":"Key"},"type":{"type":"string","title":"Type"},"disabled_if":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Disabled If"},"placeholder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Placeholder"}},"type":"object","required":["key","type"],"title":"FormField"},"FormStep":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Type"},"required":{"type":"boolean","title":"Required"},"status":{"type":"string","title":"Status"},"fields":{"items":{"$ref":"#/components/schemas/FormField"},"type":"array","title":"Fields"},"values":{"additionalProperties":true,"type":"object","title":"Values","default":{}}},"type":"object","required":["id","title","type","required","status","fields"],"title":"FormStep"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"NextSymptomRequest":{"properties":{"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id","description":"The asset ID to predict next symptoms for."},"top_n":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Top N","description":"Number of top predictions to return.","default":3}},"type":"object","title":"NextSymptomRequest"},"NextSymptomResult":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"top_n":{"type":"integer","title":"Top N"},"predictions":{"items":{"$ref":"#/components/schemas/Prediction"},"type":"array","title":"Predictions"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["asset_id","top_n","predictions","status"],"title":"NextSymptomResult"},"NumberStep":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Type"},"required":{"type":"boolean","title":"Required"},"status":{"type":"string","title":"Status"},"label":{"type":"string","title":"Label"},"placeholder":{"type":"string","title":"Placeholder"},"key":{"type":"string","title":"Key"},"unit":{"type":"string","title":"Unit"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"}},"type":"object","required":["id","title","type","required","status","label","placeholder","key","unit"],"title":"NumberStep"},"ObservationExistenceRequest":{"properties":{"observation_name":{"type":"string","title":"Observation Name","description":"The observation name to check for existence."}},"type":"object","required":["observation_name"],"title":"ObservationExistenceRequest"},"ObservationExistenceResult":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"exists":{"type":"boolean","title":"Exists"},"observation_name":{"type":"string","title":"Observation Name"}},"type":"object","required":["status","exists","observation_name"],"title":"ObservationExistenceResult"},"PartCatalogInfo":{"properties":{"part_id":{"type":"string","title":"Part Id"},"part_name":{"type":"string","title":"Part Name"},"part_description":{"type":"string","title":"Part Description"},"part_image_link":{"type":"string","title":"Part Image Link"},"part_url_link":{"type":"string","title":"Part Url Link"}},"type":"object","required":["part_id"],"title":"PartCatalogInfo"},"PartCatalogLookupRequest":{"properties":{"triage_product_id":{"type":"string","title":"Triage Product Id","description":"The triage product ID to look up in the catalog."},"question":{"type":"string","title":"Question","description":"The user question to match against the catalog."}},"type":"object","required":["triage_product_id","question"],"title":"PartCatalogLookupRequest"},"PartCatalogLookupResult":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"parts":{"items":{"$ref":"#/components/schemas/PartCatalogInfo"},"type":"array","title":"Parts","default":[]}},"type":"object","required":["status"],"title":"PartCatalogLookupResult"},"PartInfoRequest":{"properties":{"catalog_data":{"items":{"$ref":"#/components/schemas/PartCatalogInfo"},"type":"array","title":"Catalog Data","description":"List of part catalog info objects from the catalog lookup tool."}},"type":"object","required":["catalog_data"],"title":"PartInfoRequest"},"PartInfoResult":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"part_info":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Part Info","default":[]}},"type":"object","required":["status"],"title":"PartInfoResult"},"PartSourcesRequest":{"properties":{"catalog_data":{"items":{"$ref":"#/components/schemas/PartCatalogInfo"},"type":"array","title":"Catalog Data","description":"List of part catalog info objects from the catalog lookup tool."},"model":{"type":"string","title":"Model","description":"The model name for the part sources tool."},"question":{"type":"string","title":"Question","description":"The user question to match against sources."}},"type":"object","required":["catalog_data","model","question"],"title":"PartSourcesRequest"},"PartSourcesResult":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"sources":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Sources","default":[]}},"type":"object","required":["status"],"title":"PartSourcesResult"},"Prediction":{"properties":{"rank":{"type":"integer","title":"Rank"},"obs_predict":{"type":"string","title":"Obs Predict"},"confidence":{"type":"string","title":"Confidence"},"how_to_check":{"items":{"type":"string"},"type":"array","title":"How To Check"}},"type":"object","required":["rank","obs_predict","confidence","how_to_check"],"title":"Prediction"},"PreventiveMaintenanceCheckListRequest":{"properties":{"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id","description":"The asset ID to generate a preventive maintenance check list for."},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"The model to generate a preventive maintenance check list for."}},"type":"object","title":"PreventiveMaintenanceCheckListRequest"},"PreventiveMaintenanceCheckListResult":{"properties":{"schema_version":{"type":"string","title":"Schema Version"},"agent_id":{"type":"string","title":"Agent Id"},"steps":{"items":{"$ref":"#/components/schemas/Step"},"type":"array","title":"Steps"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["schema_version","agent_id","steps","status"],"title":"PreventiveMaintenanceCheckListResult"},"RadioOption":{"properties":{"value":{"type":"string","title":"Value"},"label":{"type":"string","title":"Label"}},"type":"object","required":["value","label"],"title":"RadioOption"},"RadioStep":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Type"},"required":{"type":"boolean","title":"Required"},"status":{"type":"string","title":"Status"},"options":{"items":{"$ref":"#/components/schemas/RadioOption"},"type":"array","title":"Options"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"blocking_rule":{"anyOf":[{"$ref":"#/components/schemas/BlockingRule"},{"type":"null"}]}},"type":"object","required":["id","title","type","required","status","options"],"title":"RadioStep"},"SelectStep":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Type"},"required":{"type":"boolean","title":"Required"},"status":{"type":"string","title":"Status"},"key":{"type":"string","title":"Key"},"options":{"items":{"type":"string"},"type":"array","title":"Options"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},"type":"object","required":["id","title","type","required","status","key","options"],"title":"SelectStep"},"Site":{"properties":{"name":{"type":"string","title":"Name"},"address":{"type":"string","title":"Address"}},"type":"object","required":["name","address"],"title":"Site"},"Step":{"anyOf":[{"$ref":"#/components/schemas/RadioStep"},{"$ref":"#/components/schemas/FormStep"},{"$ref":"#/components/schemas/SelectStep"},{"$ref":"#/components/schemas/NumberStep"}],"title":"Step"},"SummaryReportRequest":{"properties":{"chat_history":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Chat History","description":"The chat history to generate a summary report for."}},"type":"object","title":"SummaryReportRequest"},"SummaryReportResult":{"properties":{"summary_version":{"type":"string","title":"Summary Version"},"site":{"$ref":"#/components/schemas/Site"},"agents_used":{"items":{"$ref":"#/components/schemas/AgentUsed"},"type":"array","title":"Agents Used"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["summary_version","site","agents_used","status"],"title":"SummaryReportResult"},"TechnicianLocation":{"properties":{"event_agent_name":{"type":"string","title":"Event Agent Name"},"location":{"type":"string","title":"Location"}},"type":"object","required":["event_agent_name","location"],"title":"TechnicianLocation"},"TechnicianProximityInfo":{"properties":{"event_agent_name":{"type":"string","title":"Event Agent Name"},"location":{"type":"string","title":"Location"},"proximity_km":{"type":"number","title":"Proximity Km"}},"type":"object","required":["event_agent_name","location","proximity_km"],"title":"TechnicianProximityInfo"},"TechnicianProximityRequest":{"properties":{"asset_location":{"type":"string","title":"Asset Location","description":"The asset location to find proximity to"},"technicians":{"items":{"$ref":"#/components/schemas/TechnicianLocation"},"type":"array","title":"Technicians","description":"List of technicians with their locations"}},"type":"object","required":["asset_location","technicians"],"title":"TechnicianProximityRequest"},"TechnicianProximityResult":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"technicians":{"items":{"$ref":"#/components/schemas/TechnicianProximityInfo"},"type":"array","title":"Technicians","default":[]}},"type":"object","required":["status"],"title":"TechnicianProximityResult"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}