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.
| Capability | workspace.remove_bookmark |
|---|---|
| Area | Workspace and files |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
path | string | Workspace-relative file of the bookmark; with line. |
line | integer | 1-based line of the bookmark; with path.minimum 0 |
mnemonic | string | The bookmark's mnemonic, instead of path and line. |
dry_run | boolean | Only 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.
ferris-idea call ~/my-project remove_bookmarkInput 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" ] } }}