{ "server": { "command": "node", "args": [ "/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/fieldedge/dist/index.js" ], "env": { "FIELDEDGE_API_KEY": "factory_discovery_dummy", "FIELDEDGE_SUBSCRIPTION_KEY": "factory_discovery_dummy" } }, "tests": { "tools": { "list_work_orders": { "args": { "page": 50, "pageSize": 50, "status": "open", "customerId": "test-id-123", "technicianId": "test-id-123", "startDate": "test_value", "endDate": "test_value" }, "expect": "content && content.length > 0" }, "list_work_orders:empty-status": { "args": { "page": 50, "pageSize": 50, "status": "", "customerId": "test-id-123", "technicianId": "test-id-123", "startDate": "test_value", "endDate": "test_value" }, "expect": "exists" }, "list_work_orders:empty-customerId": { "args": { "page": 50, "pageSize": 50, "status": "open", "customerId": "", "technicianId": "test-id-123", "startDate": "test_value", "endDate": "test_value" }, "expect": "exists" }, "list_work_orders:empty-technicianId": { "args": { "page": 50, "pageSize": 50, "status": "open", "customerId": "test-id-123", "technicianId": "", "startDate": "test_value", "endDate": "test_value" }, "expect": "exists" }, "list_work_orders:empty-startDate": { "args": { "page": 50, "pageSize": 50, "status": "open", "customerId": "test-id-123", "technicianId": "test-id-123", "startDate": "", "endDate": "test_value" }, "expect": "exists" }, "list_work_orders:empty-endDate": { "args": { "page": 50, "pageSize": 50, "status": "open", "customerId": "test-id-123", "technicianId": "test-id-123", "startDate": "test_value", "endDate": "" }, "expect": "exists" }, "get_work_order": { "args": { "id": "test-id-123" }, "expect": "content && content.length > 0" }, "create_work_order": { "args": { "customerId": "test-id-123", "locationId": "test-id-123", "description": "test_value", "workType": "service", "priority": "low", "scheduledDate": "test_value", "scheduledTime": "test_value", "technicianId": "test-id-123", "equipmentIds": [], "notes": "test_value" }, "expect": "content && content.length > 0" }, "create_work_order:empty-locationId": { "args": { "customerId": "test-id-123", "locationId": "", "description": "test_value", "workType": "service", "priority": "low", "scheduledDate": "test_value", "scheduledTime": "test_value", "technicianId": "test-id-123", "equipmentIds": [], "notes": "test_value" }, "expect": "exists" }, "create_work_order:empty-workType": { "args": { "customerId": "test-id-123", "locationId": "test-id-123", "description": "test_value", "workType": "", "priority": "low", "scheduledDate": "test_value", "scheduledTime": "test_value", "technicianId": "test-id-123", "equipmentIds": [], "notes": "test_value" }, "expect": "exists" }, "create_work_order:empty-priority": { "args": { "customerId": "test-id-123", "locationId": "test-id-123", "description": "test_value", "workType": "service", "priority": "", "scheduledDate": "test_value", "scheduledTime": "test_value", "technicianId": "test-id-123", "equipmentIds": [], "notes": "test_value" }, "expect": "exists" }, "create_work_order:empty-scheduledDate": { "args": { "customerId": "test-id-123", "locationId": "test-id-123", "description": "test_value", "workType": "service", "priority": "low", "scheduledDate": "", "scheduledTime": "test_value", "technicianId": "test-id-123", "equipmentIds": [], "notes": "test_value" }, "expect": "exists" }, "create_work_order:empty-scheduledTime": { "args": { "customerId": "test-id-123", "locationId": "test-id-123", "description": "test_value", "workType": "service", "priority": "low", "scheduledDate": "test_value", "scheduledTime": "", "technicianId": "test-id-123", "equipmentIds": [], "notes": "test_value" }, "expect": "exists" }, "create_work_order:empty-technicianId": { "args": { "customerId": "test-id-123", "locationId": "test-id-123", "description": "test_value", "workType": "service", "priority": "low", "scheduledDate": "test_value", "scheduledTime": "test_value", "technicianId": "", "equipmentIds": [], "notes": "test_value" }, "expect": "exists" }, "create_work_order:empty-notes": { "args": { "customerId": "test-id-123", "locationId": "test-id-123", "description": "test_value", "workType": "service", "priority": "low", "scheduledDate": "test_value", "scheduledTime": "test_value", "technicianId": "test-id-123", "equipmentIds": [], "notes": "" }, "expect": "exists" }, "list_customers": { "args": { "page": 50, "pageSize": 50, "search": "test query", "sortBy": "test_value", "sortOrder": "asc" }, "expect": "content && content.length > 0" }, "list_customers:empty-search": { "args": { "page": 50, "pageSize": 50, "search": "", "sortBy": "test_value", "sortOrder": "asc" }, "expect": "exists" }, "list_customers:empty-sortBy": { "args": { "page": 50, "pageSize": 50, "search": "test query", "sortBy": "", "sortOrder": "asc" }, "expect": "exists" }, "list_customers:empty-sortOrder": { "args": { "page": 50, "pageSize": 50, "search": "test query", "sortBy": "test_value", "sortOrder": "" }, "expect": "exists" }, "list_technicians": { "args": { "page": 50, "pageSize": 50, "active": true, "departmentId": "test-id-123" }, "expect": "content && content.length > 0" }, "list_technicians:empty-departmentId": { "args": { "page": 50, "pageSize": 50, "active": true, "departmentId": "" }, "expect": "exists" }, "list_invoices": { "args": { "page": 50, "pageSize": 50, "status": "draft", "customerId": "test-id-123", "startDate": "test_value", "endDate": "test_value" }, "expect": "content && content.length > 0" }, "list_invoices:empty-status": { "args": { "page": 50, "pageSize": 50, "status": "", "customerId": "test-id-123", "startDate": "test_value", "endDate": "test_value" }, "expect": "exists" }, "list_invoices:empty-customerId": { "args": { "page": 50, "pageSize": 50, "status": "draft", "customerId": "", "startDate": "test_value", "endDate": "test_value" }, "expect": "exists" }, "list_invoices:empty-startDate": { "args": { "page": 50, "pageSize": 50, "status": "draft", "customerId": "test-id-123", "startDate": "", "endDate": "test_value" }, "expect": "exists" }, "list_invoices:empty-endDate": { "args": { "page": 50, "pageSize": 50, "status": "draft", "customerId": "test-id-123", "startDate": "test_value", "endDate": "" }, "expect": "exists" }, "list_equipment": { "args": { "page": 50, "pageSize": 50, "customerId": "test-id-123", "locationId": "test-id-123", "equipmentType": "hvac" }, "expect": "content && content.length > 0" }, "list_equipment:empty-customerId": { "args": { "page": 50, "pageSize": 50, "customerId": "", "locationId": "test-id-123", "equipmentType": "hvac" }, "expect": "exists" }, "list_equipment:empty-locationId": { "args": { "page": 50, "pageSize": 50, "customerId": "test-id-123", "locationId": "", "equipmentType": "hvac" }, "expect": "exists" }, "list_equipment:empty-equipmentType": { "args": { "page": 50, "pageSize": 50, "customerId": "test-id-123", "locationId": "test-id-123", "equipmentType": "" }, "expect": "exists" } }, "resources": {}, "prompts": {}, "timeout": 30000 } }