Skip to content

Commit cf3c058

Browse files
author
Abhimanyu Siwach
committed
Address doc comments
1 parent 37c6dbe commit cf3c058

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

docs/specification/draft/client/elicitation.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ Clients that support elicitation **MUST** declare the `elicitation` capability d
4444
}
4545
```
4646

47-
The client declares support for elicitation during initialization.
48-
4947
## Protocol Messages
5048

5149
### Creating Elicitation Requests
@@ -91,7 +89,7 @@ To request information from a user, servers send an `elicitation/create` request
9189
}
9290
```
9391

94-
#### Structured Data Request with Schema
92+
#### Structured Data Request
9593

9694
**Request:**
9795

@@ -288,7 +286,7 @@ Elicitation responses use a three-action model to clearly distinguish between di
288286

289287
The three response actions are:
290288

291-
1. **Accept** (`action: "accept"`): User explicitly approved and submitted the form with data
289+
1. **Accept** (`action: "accept"`): User explicitly approved and submitted with data
292290
- The `content` field contains the submitted data matching the requested schema
293291
- Example: User clicked "Submit", "OK", "Confirm", etc.
294292

schema/draft/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@
585585
"type": "string"
586586
},
587587
"requestedSchema": {
588-
"description": "A restricted subset of JSON Schema defining only flat primitives.\nOnly top-level properties are allowed, without nesting.",
588+
"description": "A restricted subset of JSON Schema.\nOnly top-level properties are allowed, without nesting.",
589589
"properties": {
590590
"properties": {
591591
"additionalProperties": {

schema/draft/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ export interface ElicitRequest extends Request {
12791279
*/
12801280
message: string;
12811281
/**
1282-
* A restricted subset of JSON Schema defining only flat primitives.
1282+
* A restricted subset of JSON Schema.
12831283
* Only top-level properties are allowed, without nesting.
12841284
*/
12851285
requestedSchema: {

0 commit comments

Comments
 (0)