Add a project dependency
addDependencyAdd an extra application dependency to the generated Maven or Gradle build. Bootify already adds dependencies required by selected project features. Call listAvailableDependencies to find supported coordinates, then pass the returned groupId:artifactId. Spring Boot supplies the compatible dependency version.
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": {
"projectId": "<projectId>",
"dependency": "<dependency>"
},
"name": "addDependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project ID returned by startProject | |
| dependency | Yes | Maven coordinates: groupId:artifactId[:version] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | Only settings whose values actually changed, including automatic effects, using final stored values in MCP format. Nested objects contain changed properties only. Empty when no settings changed; values that are no longer exposed are omitted. | |
| projectId | Yes | The project ID returned by startProject | |
| affectedAreas | Yes | Object lists changed directly or by automatic effects. Lists are not returned; use getProject with these details when needed. Empty for no list changes. | |
| userProjectChanged | No | Present only once when the project appears to have been changed by the user since the preceding MCP call within the last two hours |