go-sdk/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam a6ec3f5f4e internal/mcp: simplify prompt API
Remove NewServerPrompt.

Schema inference is irrelevant for prompts.
All arguments are strings.
So using a struct is not as valuable as with tools.
The only advantage is catching misspellings at compile time.
It's not worth it.

Change-Id: I45aaa5d55c8940cc9e32dc277bd543f79d932519
Reviewed-on: https://go-review.googlesource.com/c/tools/+/682797
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2025-06-20 07:28:04 -07:00
..
hello internal/mcp: simplify prompt API 2025-06-20 07:28:04 -07:00
sse internal/mcp: rename NewXXX->NewServerXXX 2025-06-17 17:54:58 -07:00