Skip to content

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.

Capabilityexecution.build_tool_options
AreaRun, test and tasks
Accesschanges files
Reaches—
Rightswrite
Dry runnone

Arguments

ArgumentTypeDescription
offlinebooleanMaven -o, Gradle --offline for the build tools window's runs and resolutions.
skip_testsbooleanMaven -DskipTests.
profilesobjectMaven 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.

Terminal window
ferris-idea call ~/my-project build_tool_options
Input 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
}
}
}