Skip to content

Commit 84fd5f1

Browse files
committed
fix(SEP-2322): Fix typos and format
1 parent 6e57f6b commit 84fd5f1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/specification/draft/basic/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ can use to determine how to parse and handle the `result` object.
7979

8080
- A `resultType` of `"complete"` indicates the request completed successfully and the result contains the final content.
8181
- A `resultType` of `"input_required"` indicates the request is incomplete and more information is needed to process the request. The result contains an `InputRequiredResult` object with additional information needed.
82-
- Extensions MAY add additional `ResultType` values. The set of supported `ResultTypes` MUST be created from the set defined in the core protocol and include any additional values of supported extensions that are advertised via capabilities.
83-
-A `resultType` of any value unrecognized by the client **MUST** be considered invalid.
82+
- Extensions **MAY** add additional `ResultType` values. The set of supported `ResultType` values **MUST** be created from the set defined in the core protocol and include any additional values of supported extensions that are advertised via capabilities.
83+
- A `resultType` of any value unrecognized by the client **MUST** be considered invalid.
8484
- For backward compatibility with servers implementing earlier protocol versions, which do not include `resultType`, clients **MUST** treat an absent `resultType` as `"complete"`.
8585

8686
#### Error Responses

seps/2322-MRTR.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,11 @@ export interface InputResponseRequestParams extends RequestParams {
320320
}
321321
```
322322

323-
Since this change creates a polymorphic response for method calls like 'tools/call', we are introducing a new field to `Result` which indicate the `ResultType`. The client should parse this field to determine the type of the Result contained in the message. If this field is not provided the Client should assume a `ResultType` of "complete" for backwards compatibility. If this field is not provided the Client should assume a `ResultType` of "complete" for backwards compatibility.
323+
Since this change creates a polymorphic response for method calls like `tools/call`, we are introducing a new field to `Result` which indicate the `ResultType`. The client should parse this field to determine the type of the `Result` contained in the message. If this field is not provided, the Client should assume a `ResultType` of `"complete"` for backwards compatibility.
324324

325-
Extensions MAY add additional `ResultType` values. The set of supported `ResultTypes` MUST be created from the set defined in the core protocol and include any additional values of supported extensions that are advertised via capabilities.
325+
Extensions **MAY** add additional `ResultType` values. The set of supported `ResultType` values **MUST** be created from the set defined in the core protocol and include any additional values of supported extensions that are advertised via capabilities.
326326

327-
The Client SHOULD treat unrecognized values as invalid protocol responses.
327+
The Client **SHOULD** treat unrecognized values as invalid protocol responses.
328328

329329
The schema change will look like this:
330330

0 commit comments

Comments
 (0)