470 lines
12 KiB
JSON
470 lines
12 KiB
JSON
{
|
|
"server": {
|
|
"command": "node",
|
|
"args": [
|
|
"/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/pipedrive/dist/index.js"
|
|
],
|
|
"env": {
|
|
"PIPEDRIVE_API_TOKEN": "factory_discovery_dummy"
|
|
}
|
|
},
|
|
"tests": {
|
|
"tools": {
|
|
"list_deals": {
|
|
"args": {
|
|
"status": "open",
|
|
"start": 50,
|
|
"limit": 50,
|
|
"sort": "test_value",
|
|
"user_id": 50,
|
|
"stage_id": 50,
|
|
"pipeline_id": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_deals:empty-status": {
|
|
"args": {
|
|
"status": "",
|
|
"start": 50,
|
|
"limit": 50,
|
|
"sort": "test_value",
|
|
"user_id": 50,
|
|
"stage_id": 50,
|
|
"pipeline_id": 50
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_deals:empty-sort": {
|
|
"args": {
|
|
"status": "open",
|
|
"start": 50,
|
|
"limit": 50,
|
|
"sort": "",
|
|
"user_id": 50,
|
|
"stage_id": 50,
|
|
"pipeline_id": 50
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_deal": {
|
|
"args": {
|
|
"id": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_deal": {
|
|
"args": {
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"pipeline_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"visible_to": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_deal:empty-currency": {
|
|
"args": {
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"pipeline_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"visible_to": 50
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_deal:empty-status": {
|
|
"args": {
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"pipeline_id": 50,
|
|
"stage_id": 50,
|
|
"status": "",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"visible_to": 50
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_deal:empty-expected_close_date": {
|
|
"args": {
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"pipeline_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "",
|
|
"probability": 50,
|
|
"visible_to": 50
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_deal": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"lost_reason": "test_value",
|
|
"won_time": "test_value",
|
|
"lost_time": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"update_deal:empty-title": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"lost_reason": "test_value",
|
|
"won_time": "test_value",
|
|
"lost_time": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_deal:empty-currency": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"lost_reason": "test_value",
|
|
"won_time": "test_value",
|
|
"lost_time": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_deal:empty-status": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"lost_reason": "test_value",
|
|
"won_time": "test_value",
|
|
"lost_time": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_deal:empty-expected_close_date": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "",
|
|
"probability": 50,
|
|
"lost_reason": "test_value",
|
|
"won_time": "test_value",
|
|
"lost_time": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_deal:empty-lost_reason": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"lost_reason": "",
|
|
"won_time": "test_value",
|
|
"lost_time": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_deal:empty-won_time": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"lost_reason": "test_value",
|
|
"won_time": "",
|
|
"lost_time": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_deal:empty-lost_time": {
|
|
"args": {
|
|
"id": 50,
|
|
"title": "test_value",
|
|
"value": 50,
|
|
"currency": "test_value",
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"stage_id": 50,
|
|
"status": "open",
|
|
"expected_close_date": "test_value",
|
|
"probability": 50,
|
|
"lost_reason": "test_value",
|
|
"won_time": "test_value",
|
|
"lost_time": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_persons": {
|
|
"args": {
|
|
"start": 50,
|
|
"limit": 50,
|
|
"sort": "test_value",
|
|
"filter_id": 50,
|
|
"first_char": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_persons:empty-sort": {
|
|
"args": {
|
|
"start": 50,
|
|
"limit": 50,
|
|
"sort": "",
|
|
"filter_id": 50,
|
|
"first_char": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_persons:empty-first_char": {
|
|
"args": {
|
|
"start": 50,
|
|
"limit": 50,
|
|
"sort": "test_value",
|
|
"filter_id": 50,
|
|
"first_char": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_person": {
|
|
"args": {
|
|
"name": "Test Name",
|
|
"email": [],
|
|
"phone": [],
|
|
"org_id": 50,
|
|
"visible_to": 50,
|
|
"add_time": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_person:empty-add_time": {
|
|
"args": {
|
|
"name": "Test Name",
|
|
"email": [],
|
|
"phone": [],
|
|
"org_id": 50,
|
|
"visible_to": 50,
|
|
"add_time": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_activities": {
|
|
"args": {
|
|
"start": 50,
|
|
"limit": 50,
|
|
"user_id": 50,
|
|
"type": "test_value",
|
|
"done": 50,
|
|
"start_date": "test_value",
|
|
"end_date": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_activities:empty-type": {
|
|
"args": {
|
|
"start": 50,
|
|
"limit": 50,
|
|
"user_id": 50,
|
|
"type": "",
|
|
"done": 50,
|
|
"start_date": "test_value",
|
|
"end_date": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_activities:empty-start_date": {
|
|
"args": {
|
|
"start": 50,
|
|
"limit": 50,
|
|
"user_id": 50,
|
|
"type": "test_value",
|
|
"done": 50,
|
|
"start_date": "",
|
|
"end_date": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_activities:empty-end_date": {
|
|
"args": {
|
|
"start": 50,
|
|
"limit": 50,
|
|
"user_id": 50,
|
|
"type": "test_value",
|
|
"done": 50,
|
|
"start_date": "test_value",
|
|
"end_date": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"add_activity": {
|
|
"args": {
|
|
"subject": "test_value",
|
|
"type": "test_value",
|
|
"due_date": "test_value",
|
|
"due_time": "test_value",
|
|
"duration": "test_value",
|
|
"deal_id": 50,
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"note": "test_value",
|
|
"done": 50,
|
|
"busy_flag": true,
|
|
"participants": []
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"add_activity:empty-type": {
|
|
"args": {
|
|
"subject": "test_value",
|
|
"type": "",
|
|
"due_date": "test_value",
|
|
"due_time": "test_value",
|
|
"duration": "test_value",
|
|
"deal_id": 50,
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"note": "test_value",
|
|
"done": 50,
|
|
"busy_flag": true,
|
|
"participants": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"add_activity:empty-due_date": {
|
|
"args": {
|
|
"subject": "test_value",
|
|
"type": "test_value",
|
|
"due_date": "",
|
|
"due_time": "test_value",
|
|
"duration": "test_value",
|
|
"deal_id": 50,
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"note": "test_value",
|
|
"done": 50,
|
|
"busy_flag": true,
|
|
"participants": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"add_activity:empty-due_time": {
|
|
"args": {
|
|
"subject": "test_value",
|
|
"type": "test_value",
|
|
"due_date": "test_value",
|
|
"due_time": "",
|
|
"duration": "test_value",
|
|
"deal_id": 50,
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"note": "test_value",
|
|
"done": 50,
|
|
"busy_flag": true,
|
|
"participants": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"add_activity:empty-duration": {
|
|
"args": {
|
|
"subject": "test_value",
|
|
"type": "test_value",
|
|
"due_date": "test_value",
|
|
"due_time": "test_value",
|
|
"duration": "",
|
|
"deal_id": 50,
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"note": "test_value",
|
|
"done": 50,
|
|
"busy_flag": true,
|
|
"participants": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"add_activity:empty-note": {
|
|
"args": {
|
|
"subject": "test_value",
|
|
"type": "test_value",
|
|
"due_date": "test_value",
|
|
"due_time": "test_value",
|
|
"duration": "test_value",
|
|
"deal_id": 50,
|
|
"person_id": 50,
|
|
"org_id": 50,
|
|
"note": "",
|
|
"done": 50,
|
|
"busy_flag": true,
|
|
"participants": []
|
|
},
|
|
"expect": "exists"
|
|
}
|
|
},
|
|
"resources": {},
|
|
"prompts": {},
|
|
"timeout": 30000
|
|
}
|
|
} |