File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
docs/specification/draft/client Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ Clients that support sampling **MUST** declare the `sampling` capability during
9494
9595<Note >
9696 The ` includeContext ` parameter values ` "thisServer" ` and ` "allServers" ` are
97- soft-deprecated. Servers ** SHOULD** avoid using these values (e.g. can just omit
98- ` includeContext ` since it defaults to ` "none" ` ), and ** SHOULD NOT** use them
99- unless the client declares ` sampling.context ` capability. These values may be
100- removed in future spec releases.
97+ soft-deprecated. Servers ** SHOULD** avoid using these values (e.g. can just
98+ omit ` includeContext ` since it defaults to ` "none" ` ), and ** SHOULD NOT** use
99+ them unless the client declares ` sampling.context ` capability. These values
100+ may be removed in future spec releases.
101101</Note >
102102
103103## Protocol Messages
@@ -606,6 +606,7 @@ it might map the sonnet hint to `gemini-1.5-pro` based on similar capabilities.
606606## Error Handling
607607
608608Clients ** SHOULD** return errors for common failure cases:
609+
609610- User rejected sampling request: ` -1 `
610611- Tool result missing in request: ` -32602 ` (Invalid params)
611612- Tool results mixed with other content: ` -32602 ` (Invalid params)
You can’t perform that action at this time.
0 commit comments