mcp: add prompt feature doc (#487)
This commit is contained in:
parent
02f0b25286
commit
fed5106631
1 changed files with 193 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ The SDK supports this as follows:
|
|||
|
||||
**Client-side**: The SDK client always has the `roots.listChanged` capability.
|
||||
To add roots to a client, use the
|
||||
[`Client.AddRoots`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp#AddRoots)
|
||||
[`Client.AddRoots`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp#Client.AddRoots)
|
||||
and
|
||||
[`Client.RemoveRoots`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp#Client.RemoveRoots)
|
||||
methods. If any servers are already [connected](protocol.md#lifecycle) to the
|
||||
|
|
|
|||
Loading…
Reference in a new issue