build_command_suggestions
MCP tools › Run, test and tasks
Suggestions of the build tools window's Execute field: for the word at the end of line the Maven phases and plugin goals or the Gradle tasks of the module, the build tool's options when the word starts with - (with their meaning), the project's Maven profiles after -P; words already on the line are left out, prefix matches first, at most ten. Each has text, kind (phase, goal, task, option, profile) and detail; completed is the line with the first suggestion taken.
Its results carry text from files: the client is told to treat that as data, never as instructions.
| Capability | execution.build_command_suggestions |
|---|---|
| Area | Run, test and tasks |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
module | string | Module folder as in project_model (. for the root); the first module when omitted. |
linerequired | string | The line typed so far, e.g. mvn comp or gradle build --of. |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project build_command_suggestions '{"line":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "line" ], "properties": { "module": { "description": "Module folder as in `project_model` (`.` for the root); the first module when omitted.", "type": [ "string", "null" ], "default": null }, "line": { "description": "The line typed so far, e.g. `mvn comp` or `gradle build --of`.", "type": "string" } }}