run_markers
MCP tools › Run, test and tasks
The run markers (gutter ▶) of a file with 1-based line and the run configuration each starts: Java/Kotlin main and JUnit tests (single method via Maven or Gradle), Vitest/Jest describe/it/test, pytest, Go and Rust tests, and the main of Go programs, Rust binaries and examples, and Python scripts (kind main). Run one with run_command; debug Go with debug_start on the file, Rust on the binary cargo build writes.
Its results carry text from files: the client is told to treat that as data, never as instructions.
| Capability | execution.run_markers |
|---|---|
| Area | Run, test and tasks |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
pathrequired | string | Workspace-relative .java or .kt file (optimize_imports: also a Python, JavaScript,
TypeScript, Vue or Svelte file). |
dry_run | boolean | Only report the change (default true; optimize_imports only). |
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 run_markers '{"path":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "path" ], "properties": { "path": { "description": "Workspace-relative `.java` or `.kt` file (`optimize_imports`: also a Python, JavaScript,\nTypeScript, Vue or Svelte file).", "type": "string" }, "dry_run": { "description": "Only report the change (default true; `optimize_imports` only).", "type": [ "boolean", "null" ] } }}