Send an input event
teleport_send_inputSend binary, analogue, or motion input events to control a TeleportXR avatar. Obtain the required input IDs via teleport_list_inputs for accurate input.
Instructions
Send one input event. binary takes value 0 or 1; analogue takes a single float; motion takes x and y. Use teleport_list_inputs for the ids the server expects.
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": {
"connectionId": "<connectionId>",
"kind": "<kind>",
"inputId": "<inputId>"
},
"name": "teleport_send_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | motion only. | |
| y | No | motion only. | |
| kind | Yes | ||
| value | No | binary: 0 or 1. analogue: the value. Unused for motion. | |
| inputId | Yes | Input id from teleport_list_inputs. | |
| connectionId | Yes | Connection id, as returned by teleport_connect or teleport_list_connections. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | Yes |