attach_session
Reconnect to an existing Appium session by providing its session ID, resuming control of Windows UI automation without starting a new session.
Instructions
Attach to an existing Appium session by session ID. Ask the user to provide the session ID — it is visible in Appium Inspector or in the Appium server logs next to the session creation event.
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": {
"sessionId": "<sessionId>"
},
"name": "attach_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The Appium session ID to attach to (get from Appium Inspector or server logs) |