Ask the user for a colour (MCP App)
pick_colorOpen a colour picker to ask the user a question, optionally with opacity, returning a hex value (#rrggbb or #rrggbbaa); the answer arrives as a chat message or via pick_color_result.
Instructions
Show a colour picker (MCP App) that asks the user a question; the user may also choose an opacity (the answer is then #rrggbbaa). The call returns immediately; the user answers afterwards. The answer reaches you as a chat message or model context, or call pick_color_result to read it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pick_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Question shown above the picker | |
| initial | No | Pre-selected colour, #rrggbb or #rrggbbaa (alpha) |