Skip to content

Commit 1849775

Browse files
bhosmer-antdsp-ant
authored andcommitted
change 'decline' to 'reject' in elicitation
1 parent 57ac8ca commit 1849775

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

docs/development/roadmap.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Our plans for evolving Model Context Protocol
55

66
<Info>Last updated: **2025-03-27**</Info>
77

8-
The Model Context Protocol is rapidly evolving. This page outlines our current thinking on key priorities and direction for approximately **the next six months**, though these may change significantly as the project develops. To see what's changed recently, check out the \*_[specification changelog](/specification/2025-06-18/changelog/)_.
8+
The Model Context Protocol is rapidly evolving. This page outlines our current thinking on key priorities and direction for approximately **the next six months**, though these may change significantly as the project develops. To see what's changed recently, check out the **[specification changelog](/specification/2025-06-18/changelog/)**.
99

1010
<Note>
1111

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

Lines changed: 7 additions & 7 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 decline and cancel options
40+
- Respect user privacy and provide clear reject and cancel options
4141

4242
</Warning>
4343

@@ -151,14 +151,14 @@ To request information from a user, servers send an `elicitation/create` request
151151
}
152152
```
153153

154-
**Decline Response Example:**
154+
**Reject Response Example:**
155155

156156
```json
157157
{
158158
"jsonrpc": "2.0",
159159
"id": 2,
160160
"result": {
161-
"action": "decline"
161+
"action": "reject"
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 "decline" or "cancel"
293+
"action": "accept", // or "reject" or "cancel"
294294
"content": {
295295
"propertyName": "value",
296296
"anotherProperty": 42
@@ -306,10 +306,10 @@ 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. **Decline** (`action: "decline"`): User explicitly rejected the request
309+
2. **Reject** (`action: "reject"`): User explicitly rejected the request
310310

311311
- The `content` field is typically omitted
312-
- Example: User clicked "Decline", "Reject", "No", etc.
312+
- Example: User clicked "Reject", "Decline", "No", etc.
313313

314314
3. **Cancel** (`action: "cancel"`): User dismissed without making an explicit choice
315315
- The `content` field is typically omitted
@@ -318,7 +318,7 @@ The three response actions are:
318318
Servers should handle each state appropriately:
319319

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

324324
## Security Considerations

docs/specification/draft/client/elicitation.mdx

Lines changed: 7 additions & 7 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 decline and cancel options
40+
- Respect user privacy and provide clear reject and cancel options
4141

4242
</Warning>
4343

@@ -151,14 +151,14 @@ To request information from a user, servers send an `elicitation/create` request
151151
}
152152
```
153153

154-
**Decline Response Example:**
154+
**Reject Response Example:**
155155

156156
```json
157157
{
158158
"jsonrpc": "2.0",
159159
"id": 2,
160160
"result": {
161-
"action": "decline"
161+
"action": "reject"
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 "decline" or "cancel"
293+
"action": "accept", // or "reject" or "cancel"
294294
"content": {
295295
"propertyName": "value",
296296
"anotherProperty": 42
@@ -306,10 +306,10 @@ 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. **Decline** (`action: "decline"`): User explicitly rejected the request
309+
2. **Reject** (`action: "reject"`): User explicitly rejected the request
310310

311311
- The `content` field is typically omitted
312-
- Example: User clicked "Decline", "Reject", "No", etc.
312+
- Example: User clicked "Reject", "Decline", "No", etc.
313313

314314
3. **Cancel** (`action: "cancel"`): User dismissed without making an explicit choice
315315
- The `content` field is typically omitted
@@ -318,7 +318,7 @@ The three response actions are:
318318
Servers should handle each state appropriately:
319319

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

324324
## Security Considerations

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-
* - "decline": User explicitly declined the action
1374+
* - "reject": User explicitly rejected the action
13751375
* - "cancel": User dismissed without making an explicit choice
13761376
*/
1377-
action: "accept" | "decline" | "cancel";
1377+
action: "accept" | "reject" | "cancel";
13781378

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

0 commit comments

Comments
 (0)