create_test
Create a new test in DefectDojo by specifying engagement, test type, start and end dates. Returns JSON with the created test.
Instructions
Create a new test. Requires write scope. Rate-limited. Args: engagement_id (> 0), test_type_id (> 0), target_start (YYYY-MM-DD), target_end (YYYY-MM-DD). Returns JSON with created test.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"engagement_id": "<engagement_id>",
"test_type_id": "<test_type_id>",
"target_start": "<target_start>",
"target_end": "<target_end>"
},
"name": "create_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_end | Yes | ||
| target_start | Yes | ||
| test_type_id | Yes | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |