elicitation

command
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Example: a tool that asks the user to confirm a destructive action via MCP elicitation. Registers a single SDK tool; when the agent invokes it the handler sends an elicitation through the loopback MCP bridge back to opencode, which routes it to the user.

Run with `go run ./examples/elicitation`.

Jump to

Keyboard shortcuts

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