Skip to content

Commit 61c9a6b

Browse files
authored
Merge branch 'main' into main
2 parents 70d4781 + 9f73a6c commit 61c9a6b

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

docs/specification/2025-06-18/client/elicitation.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Applications **SHOULD**:
3737

3838
- Provide UI that makes it clear which server is requesting information
3939
- Allow users to review and modify their responses before sending
40-
- Respect user privacy and provide clear reject and cancel options
40+
- Respect user privacy and provide clear decline and cancel options
4141

4242
</Warning>
4343

@@ -158,7 +158,7 @@ To request information from a user, servers send an `elicitation/create` request
158158
"jsonrpc": "2.0",
159159
"id": 2,
160160
"result": {
161-
"action": "reject"
161+
"action": "decline"
162162
}
163163
}
164164
```
@@ -289,7 +289,7 @@ Elicitation responses use a three-action model to clearly distinguish between di
289289
"jsonrpc": "2.0",
290290
"id": 1,
291291
"result": {
292-
"action": "accept", // or "reject" or "cancel"
292+
"action": "accept", // or "decline" or "cancel"
293293
"content": {
294294
"propertyName": "value",
295295
"anotherProperty": 42
@@ -305,7 +305,7 @@ The three response actions are:
305305
- The `content` field contains the submitted data matching the requested schema
306306
- Example: User clicked "Submit", "OK", "Confirm", etc.
307307

308-
2. **Reject** (`action: "reject"`): User explicitly rejected the request
308+
2. **Decline** (`action: "decline"`): User explicitly declined the request
309309

310310
- The `content` field is typically omitted
311311
- Example: User clicked "Reject", "Decline", "No", etc.
@@ -317,7 +317,7 @@ The three response actions are:
317317
Servers should handle each state appropriately:
318318

319319
- **Accept**: Process the submitted data
320-
- **Reject**: Handle explicit rejection (e.g., offer alternatives)
320+
- **Decline**: Handle explicit decline (e.g., offer alternatives)
321321
- **Cancel**: Handle dismissal (e.g., prompt again later)
322322

323323
## Security Considerations
@@ -326,6 +326,6 @@ Servers should handle each state appropriately:
326326
2. Clients **SHOULD** implement user approval controls
327327
3. Both parties **SHOULD** validate elicitation content against the provided schema
328328
4. Clients **SHOULD** provide clear indication of which server is requesting information
329-
5. Clients **SHOULD** allow users to reject elicitation requests at any time
329+
5. Clients **SHOULD** allow users to decline elicitation requests at any time
330330
6. Clients **SHOULD** implement rate limiting
331331
7. Clients **SHOULD** present elicitation requests in a way that makes it clear what information is being requested and why

docs/specification/draft/client/elicitation.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Applications **SHOULD**:
3737

3838
- Provide UI that makes it clear which server is requesting information
3939
- Allow users to review and modify their responses before sending
40-
- Respect user privacy and provide clear reject and cancel options
40+
- Respect user privacy and provide clear decline and cancel options
4141

4242
</Warning>
4343

@@ -158,7 +158,7 @@ To request information from a user, servers send an `elicitation/create` request
158158
"jsonrpc": "2.0",
159159
"id": 2,
160160
"result": {
161-
"action": "reject"
161+
"action": "decline"
162162
}
163163
}
164164
```
@@ -290,7 +290,7 @@ Elicitation responses use a three-action model to clearly distinguish between di
290290
"jsonrpc": "2.0",
291291
"id": 1,
292292
"result": {
293-
"action": "accept", // or "reject" or "cancel"
293+
"action": "accept", // or "decline" or "cancel"
294294
"content": {
295295
"propertyName": "value",
296296
"anotherProperty": 42
@@ -306,7 +306,7 @@ The three response actions are:
306306
- The `content` field contains the submitted data matching the requested schema
307307
- Example: User clicked "Submit", "OK", "Confirm", etc.
308308

309-
2. **Reject** (`action: "reject"`): User explicitly rejected the request
309+
2. **Decline** (`action: "decline"`): User explicitly declined the request
310310

311311
- The `content` field is typically omitted
312312
- Example: User clicked "Reject", "Decline", "No", etc.
@@ -318,7 +318,7 @@ The three response actions are:
318318
Servers should handle each state appropriately:
319319

320320
- **Accept**: Process the submitted data
321-
- **Reject**: Handle explicit rejection (e.g., offer alternatives)
321+
- **Decline**: Handle explicit decline (e.g., offer alternatives)
322322
- **Cancel**: Handle dismissal (e.g., prompt again later)
323323

324324
## Security Considerations
@@ -327,6 +327,6 @@ Servers should handle each state appropriately:
327327
2. Clients **SHOULD** implement user approval controls
328328
3. Both parties **SHOULD** validate elicitation content against the provided schema
329329
4. Clients **SHOULD** provide clear indication of which server is requesting information
330-
5. Clients **SHOULD** allow users to reject elicitation requests at any time
330+
5. Clients **SHOULD** allow users to decline elicitation requests at any time
331331
6. Clients **SHOULD** implement rate limiting
332332
7. Clients **SHOULD** present elicitation requests in a way that makes it clear what information is being requested and why

schema/draft/schema.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema/draft/schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,10 +1371,10 @@ export interface ElicitResult extends Result {
13711371
/**
13721372
* The user action in response to the elicitation.
13731373
* - "accept": User submitted the form/confirmed the action
1374-
* - "reject": User explicitly rejected the action
1374+
* - "decline": User explicitly decline the action
13751375
* - "cancel": User dismissed without making an explicit choice
13761376
*/
1377-
action: "accept" | "reject" | "cancel";
1377+
action: "accept" | "decline" | "cancel";
13781378

13791379
/**
13801380
* The submitted form data, only present when action is "accept".

0 commit comments

Comments
 (0)