Skip to content

properties_file

MCP tools › Workspace and files

Read a .properties file as java.util.Properties does: every property with its key and value (escapes resolved, continuation lines joined) and 0-based line, and the problems with the title of their fix: every place of a duplicate key (naming the other lines; fix Remove property, which fix_inspection with properties.duplicate-key applies to one place, SPEC-0155 v2), trailing spaces in values, and each key that other files of its resource bundle lack (properties.missing-in-bundle, an error naming those locales, default for the base file; fix Add missing translation to <locales>, which fix_inspection applies to the other files, SPEC-0163 v3).

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

Capabilityworkspace.properties_file
AreaWorkspace and files
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
pathrequiredstringWorkspace-relative .properties file.

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 properties_file '{"path":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"description": "Workspace-relative `.properties` file.",
"type": "string"
}
}
}