https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2756
This commit is contained in:
parent
104a270d5f
commit
932668b768
1 changed files with 11 additions and 6 deletions
|
|
@ -798,6 +798,9 @@ Servers **MUST** return standard JSON-RPC errors for the following protocol erro
|
|||
- Servers **MUST** return this error for `tasks/get`.
|
||||
- Servers **SHOULD** return this error for `tasks/update` and `tasks/cancel`.
|
||||
- Internal errors: `-32603` (Internal error)
|
||||
- Missing required client capabilities: `-32003` (Missing Required Client Capability)
|
||||
- Servers **MUST** return this error for non-declaring clients requesting task notifications on `subscriptions/listen`.
|
||||
- Servers **MUST** return this error for non-declaring clients issuing `tasks/get`, `tasks/update`, and `tasks/cancel` requests.
|
||||
|
||||
Servers **SHOULD** provide informative error messages to describe the cause of errors.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue