dropdown

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package dropdown provides an interactive UI dropdown app.

Index

Constants

View Source
const (

	// StatusPendingUserInput indicates that the tool is waiting for user input.
	StatusPendingUserInput = "PENDING_USER_INPUT"
)

Variables

This section is empty.

Functions

func Install

func Install(_ context.Context, s *mcp.Server, _ *config.Config) error

Install registers the dropdown tool with the MCP server.

Types

type PendingResponse

type PendingResponse struct {
	Status  string   `json:"status"`
	Options []string `json:"options"`
	Message string   `json:"message"`
}

PendingResponse represents the structured content returned when waiting for user input.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL