Show an Android toast
toastDisplays a brief on-screen pop-up message on an Android device through Termux:API, letting MCP clients send user alerts with optional short duration.
Instructions
Show a short toast message on the device via Termux:API.
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": {
"text": "<text>"
},
"name": "toast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Toast text. | |
| short | No | Use the short toast duration. Default true. |