run_specific_test
Runs a specified Maven or Gradle test from a project directory when the SPRING_TOOLKIT_ENABLE_TEST_RUNS environment variable is set to true.
Instructions
Run one Maven or Gradle test when SPRING_TOOLKIT_ENABLE_TEST_RUNS=true.
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": {
"test": "<test>"
},
"name": "run_specific_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project directory. | |
| test | Yes | Test selector. | |
| build_tool | No | maven |