Attach to JVM Process
intercept_jvmIntercept HTTP(S) traffic from running Java, Kotlin, or Clojure applications by attaching to their JVM processes for debugging and inspection.
Instructions
Attach to a running JVM process (Java, Kotlin, Clojure, etc.) to intercept all its HTTP(S) traffic. Uses Java agent attachment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"proxyPort": "<proxyPort>",
"targetPid": "<targetPid>"
},
"name": "intercept_jvm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxyPort | Yes | Proxy port to route traffic through | |
| targetPid | Yes | PID of the JVM process. Use get_interceptor_metadata with id "attach-jvm" to list available JVM processes. |