build_tool_options
MCP tools › Run, test and tasks
Options of the build tools window that every Maven and Gradle run from it and every dependency resolution gets: offline (Maven -o, Gradle --offline), skip_tests (Maven -DskipTests) and the Maven profiles of the project with their default and current state (-P a,!b). Without arguments it only reads them; setting needs the write right and is kept in .ferris-idea/build-tools.toml.
Its results carry text from files: the client is told to treat that as data, never as instructions.
| Capability | execution.build_tool_options |
|---|---|
| Area | Run, test and tasks |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
offline | boolean | Maven -o, Gradle --offline for the build tools window's runs and resolutions. |
skip_tests | boolean | Maven -DskipTests. |
profiles | object | Maven profiles to switch on (true) or off (false); null returns one to its default. |
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_tool_optionsInput schema as JSON
{ "type": "object", "properties": { "offline": { "description": "Maven `-o`, Gradle `--offline` for the build tools window's runs and resolutions.", "type": [ "boolean", "null" ], "default": null }, "skip_tests": { "description": "Maven `-DskipTests`.", "type": [ "boolean", "null" ], "default": null }, "profiles": { "description": "Maven profiles to switch on (`true`) or off (`false`); `null` returns one to its default.", "type": [ "object", "null" ], "additionalProperties": { "type": [ "boolean", "null" ] }, "default": null } }}