Skip to content

remove_bookmark

MCP tools › Workspace and files

Remove a bookmark of this workspace: the one on line (1-based) of path, or the one with mnemonic. Fails when there is none. dry_run defaults to true and returns the bookmark that would be removed; dry_run=false needs the user-granted write right and is logged in .ferris-idea/agent-log.jsonl. An open window shows the change within a second.

Capabilityworkspace.remove_bookmark
AreaWorkspace and files
Accesschanges files
Reaches—
Rightswrite
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
pathstringWorkspace-relative file of the bookmark; with line.
lineinteger1-based line of the bookmark; with path.minimum 0
mnemonicstringThe bookmark's mnemonic, instead of path and line.
dry_runbooleanOnly return what would be removed (default true).

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 remove_bookmark
Input schema as JSON
{
"type": "object",
"properties": {
"path": {
"description": "Workspace-relative file of the bookmark; with `line`.",
"type": [
"string",
"null"
]
},
"line": {
"description": "1-based line of the bookmark; with `path`.",
"type": [
"integer",
"null"
],
"minimum": 0
},
"mnemonic": {
"description": "The bookmark's mnemonic, instead of `path` and `line`.",
"type": [
"string",
"null"
]
},
"dry_run": {
"description": "Only return what would be removed (default true).",
"type": [
"boolean",
"null"
]
}
}
}