configure_adapter
Register or update a debug adapter configuration and persist it to disk, so AI agents can launch programs under real debuggers across Python, Go, Node.js, C/C++, Rust, and PHP.
Instructions
Register or update a debug adapter configuration and persist it to disk.
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": {
"type": "<type>",
"program": "<program>"
},
"name": "configure_adapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments to pass to the adapter | |
| type | Yes | Adapter type identifier (e.g. 'python', 'node', 'go') | |
| scope | No | Where to persist the adapter config (default: project) | |
| program | Yes | Path or command for the adapter executable | |
| runtime | No | Optional runtime to invoke the program (e.g. 'node', 'python3') | |
| transport | No | DAP transport used by the adapter | |
| installHint | No | Hint shown when adapter is not installed | |
| portMatcher | No | Regex whose first capture group is the TCP port | |
| launchDefaults | No | Default launch configuration properties |