list_client
List online devices belonging to the token, with their identifiers and metadata. After create_client generates connection instructions, you MUST pass the returned control_token as client_token and set wait_ms=300000 to check whether a device connects, with a 300-second timeout. A positive wait_ms waits while no device is online; any online device completes the wait immediately. An empty array means no device was online when the call returned; after the 300-second wait, report that the connection check timed out. Invalid, expired or revoked tokens cannot be used for further waits.
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": {
"client_token": "<client_token>"
},
"name": "list_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_ms | No | Maximum connection wait in milliseconds while no device is online, 0–300000. After generating connection instructions, you MUST set this to 300000 (300-second timeout). 0 returns a snapshot immediately. | |
| client_token | Yes | Control credential in token:key format, required with management access (including stdio and no-password mode). Scoped control bearer access implicitly selects its own token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clients | Yes | Online devices owned by this token; an empty array means none are currently online. |