227 lines
5.6 KiB
JSON
227 lines
5.6 KiB
JSON
{
|
|
"server": {
|
|
"command": "node",
|
|
"args": [
|
|
"/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/housecall-pro/dist/index.js"
|
|
],
|
|
"env": {
|
|
"HOUSECALL_PRO_API_KEY": "factory_discovery_dummy"
|
|
}
|
|
},
|
|
"tests": {
|
|
"tools": {
|
|
"list_jobs": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "unscheduled",
|
|
"customer_id": "test-id-123"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_jobs:empty-status": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "",
|
|
"customer_id": "test-id-123"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_jobs:empty-customer_id": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "unscheduled",
|
|
"customer_id": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_job": {
|
|
"args": {
|
|
"id": "test-id-123"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_job": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "test-id-123",
|
|
"description": "test_value",
|
|
"scheduled_start": "test_value",
|
|
"scheduled_end": "test_value",
|
|
"assigned_employee_ids": [],
|
|
"tags": []
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_job:empty-address_id": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "",
|
|
"description": "test_value",
|
|
"scheduled_start": "test_value",
|
|
"scheduled_end": "test_value",
|
|
"assigned_employee_ids": [],
|
|
"tags": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_job:empty-description": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "test-id-123",
|
|
"description": "",
|
|
"scheduled_start": "test_value",
|
|
"scheduled_end": "test_value",
|
|
"assigned_employee_ids": [],
|
|
"tags": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_job:empty-scheduled_start": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "test-id-123",
|
|
"description": "test_value",
|
|
"scheduled_start": "",
|
|
"scheduled_end": "test_value",
|
|
"assigned_employee_ids": [],
|
|
"tags": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_job:empty-scheduled_end": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "test-id-123",
|
|
"description": "test_value",
|
|
"scheduled_start": "test_value",
|
|
"scheduled_end": "",
|
|
"assigned_employee_ids": [],
|
|
"tags": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_estimates": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "pending",
|
|
"customer_id": "test-id-123"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_estimates:empty-status": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "",
|
|
"customer_id": "test-id-123"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_estimates:empty-customer_id": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "pending",
|
|
"customer_id": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_estimate": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "test-id-123",
|
|
"message": "test_value",
|
|
"options": []
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_estimate:empty-address_id": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "",
|
|
"message": "test_value",
|
|
"options": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_estimate:empty-message": {
|
|
"args": {
|
|
"customer_id": "test-id-123",
|
|
"address_id": "test-id-123",
|
|
"message": "",
|
|
"options": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"q": "test_value",
|
|
"sort": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_customers:empty-q": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"q": "",
|
|
"sort": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers:empty-sort": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"q": "test_value",
|
|
"sort": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_invoices": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "draft",
|
|
"customer_id": "test-id-123"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_invoices:empty-status": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "",
|
|
"customer_id": "test-id-123"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_invoices:empty-customer_id": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"status": "draft",
|
|
"customer_id": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_employees": {
|
|
"args": {
|
|
"page": 50,
|
|
"per_page": 50,
|
|
"active": true
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
}
|
|
},
|
|
"resources": {},
|
|
"prompts": {},
|
|
"timeout": 30000
|
|
}
|
|
} |