Class DevTools
java.lang.Object
com.codename1.backend.mcp.DevTools
- All Implemented Interfaces:
McpServer.Extension
The tools an agent developing a backend uses on the running server.
| Tool | What it does |
|---|---|
backend_routes |
every route the build generated |
backend_beans |
every bean, its scope and what it was given |
backend_config |
the profile and the configured keys, secrets masked |
backend_call |
sends the server an HTTP request and returns the response |
backend_requests |
the last requests served, and what failed and why |
backend_logs |
the last console lines |
backend_sql |
runs SQL against the server's database |
backend_schema |
the entities and their tables and columns |
backend_jobs / backend_run_job |
the scheduled jobs; run one now |
backend_metrics |
every metric's current value |
backend_managed / backend_invoke |
the managed beans; call an operation |
Linked only into a development build -- the entry point cn1:backend
runs -- and installed only on a development profile, so a production binary
has none of it.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DevTools
public DevTools()
-
-
Method Details
-
install
Description copied from interface:McpServer.ExtensionRegisters tools, given the running server.- Specified by:
installin interfaceMcpServer.Extension
-