Skip to content

Commit a8c10a0

Browse files
committed
rename in draft
1 parent 86039ab commit a8c10a0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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.

0 commit comments

Comments
 (0)