parent
a911cd0ffd
commit
4529904c7a
1 changed files with 2 additions and 2 deletions
|
|
@ -471,7 +471,7 @@ server.AddReceivingMiddleware(withLogging)
|
||||||
|
|
||||||
#### Rate Limiting
|
#### Rate Limiting
|
||||||
|
|
||||||
Rate limiting can be configured using middleware. Please see [examples/rate-limiting](<https://github.com/modelcontextprotocol/go-sdk/tree/main/examples/rate-limiting>] for an example on how to implement this.
|
Rate limiting can be configured using middleware. Please see [examples/rate-limiting](<https://github.com/modelcontextprotocol/go-sdk/tree/main/examples/rate-limiting>) for an example on how to implement this.
|
||||||
|
|
||||||
### Errors
|
### Errors
|
||||||
|
|
||||||
|
|
@ -609,7 +609,7 @@ A tool handler accepts `CallToolParams` and returns a `CallToolResult`. However,
|
||||||
```go
|
```go
|
||||||
type CallToolParamsFor[In any] struct {
|
type CallToolParamsFor[In any] struct {
|
||||||
Meta Meta `json:"_meta,omitempty"`
|
Meta Meta `json:"_meta,omitempty"`
|
||||||
Arguments In `json:"arguments,omitempty"`
|
Arguments In `json:"arguments,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue