create_interactive_session
Attach to a running process to establish an interactive REPL session for executing commands and scripts, enabling dynamic instrumentation and runtime analysis.
Instructions
Create an interactive REPL-like session with a process.
This returns a session ID that can be used with execute_in_session to run commands.
Returns:
Information about the created session
Input Schema
Name | Required | Description | Default |
---|---|---|---|
device_id | No | Optional ID of the device where the process is running. Uses smart selection when omitted. | |
process_id | Yes | The ID of the process to attach to for creating an interactive session. |
Input Schema (JSON Schema)
{
"properties": {
"device_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional ID of the device where the process is running. Uses smart selection when omitted.",
"title": "Device Id"
},
"process_id": {
"description": "The ID of the process to attach to for creating an interactive session.",
"title": "Process Id",
"type": "integer"
}
},
"required": [
"process_id"
],
"type": "object"
}