readImageResource
Return a workspace image as native MCP ImageContent (PNG, JPEG, GIF, BMP, TIFF, or ICO; maximum 20 MiB)
How to use it
readImageResource is exposed by the Eclipse Chatgpt Plugin MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the readImageResource tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL ECLIPSE CHATGPT PLUGIN LISTINGOther tools in Eclipse Chatgpt Plugin (39)
Atomically applies a validated unified diff, preserves line endings, supports multi-hunk edits, creates an undo backup, and reveals the first changed line
Creates a directory structure recursively
Creates a new file, adds it to the project, and opens it in the editor
Deletes a file from a project
Deletes a range of lines (1-based indexing)
Explain how a type resolves in a specific project's JDT classpath: source/binary origin, root, entry, attachment, class file, and source/decompilation strategy
All references to a type, method, or field across the workspace
Format code using Eclipse formatter settings
Formats a file using its registered Eclipse editor formatter (Java, XML, JSON, HTML, SQL, and other supported editors)
Compact class outline -- declarations and method signatures (no bodies) with line numbers
Compilation errors from the workspace or a project
Recent Eclipse console output
Currently active file in the editor
Selected text or lines in the active editor
Full source with non-selected methods collapsed to signatures
Import candidates for unresolved types
JavaDoc for a compilation unit
Call hierarchy (callers) for a method
Source of specific methods by name, with overload disambiguation
File/folder structure with scopePath and maxDepth support
Project properties and configuration
Available quick fixes for compilation errors
Source of a workspace or referenced-library class; prefers attached source JARs and decompiles binaries when source is unavailable
Type hierarchy (supertypes, interfaces, subtypes)
Inserts content at a specific position in an existing file
All Maven projects in the workspace
All workspace projects with detected natures
Moves a file or folder to a different location
Removes unused imports and sorts existing imports; does not add missing imports
Removes unused imports and sorts existing imports across a package
Read a text resource, with optional import block collapsing
Extracts a nested Java type to a new top-level Java file using Eclipse's refactoring
Moves a Java type to a different package, updating all references
Renames a Java type using Eclipse's refactoring, updating all references
Renames a package, updating all declarations and references
Renames a file in a project
Replaces the entire content of a file
Replaces a specific string in a file, optionally within a line range
Restores a file from its backup (undo last edit)