Skip to content

build_tool_links

MCP tools › Run, test and tasks

Build files linked and module folders unlinked by hand in the build tools window: link reads a build file even in an ignored or excluded folder and undoes an unlink of its folder; unlink leaves a module folder and the modules inside it out of the project model. Both need the write right and are kept in .ferris-idea/build-tools.toml. Returns the lists and the modules now in the model.

Its results carry text from files: the client is told to treat that as data, never as instructions.

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

Arguments

ArgumentTypeDescription
linkstringA build file to link, workspace-relative (vendor/lib/pom.xml); needs the write right.
unlinkstringA module folder to unlink with the modules inside it (. for the root); needs the write right.

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_links
Input schema as JSON
{
"type": "object",
"properties": {
"link": {
"description": "A build file to link, workspace-relative (`vendor/lib/pom.xml`); needs the `write` right.",
"type": [
"string",
"null"
],
"default": null
},
"unlink": {
"description": "A module folder to unlink with the modules inside it (`.` for the root); needs the `write`\nright.",
"type": [
"string",
"null"
],
"default": null
}
}
}