ap_show_message
Display a message in ArmorPaint as a transient toast, or as a modal box when blocking input is required. Use toast by default to avoid stalling the UI thread.
Instructions
Show a message to the user in ArmorPaint: a transient toast by default, or a modal box. Prefer the toast — a modal blocks ArmorPaint's UI thread, which also stalls the bridge until the user dismisses it.
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": "ap_show_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text. | |
| modal | No | Show a blocking message box instead of a toast. | |
| title | No | Title, modal only. | ArmorPaint MCP |
| seconds | No | Toast duration in seconds. |