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`.
Click to show internal directories.
Click to hide internal directories.