stop_test_client
Tear down a TestClient launched by launch_test_client. Stop local processes by PID/process group; use the host-agent lifecycle handle for remote sessions to avoid stale PID targeting.
Instructions
Tear down a TestClient launched by launch_test_client.
Local mode stops by PID/process group. Remote-client mode requires the host-agent lifecycle handle returned by launch_test_client, so stale or recycled PIDs cannot target a newer process.
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": {
"pid": "<pid>"
},
"name": "stop_test_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| port | No | ||
| xvfb_pid | No | ||
| lifecycle_id | No | ||
| manage_apache | No | ||
| lifecycle_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||