Skip to content

Commit 6846352

Browse files
committed
Make task:"always" imply MUST
1 parent d0d4b99 commit 6846352

File tree

1 file changed

+1
-1
lines changed
  • docs/specification/draft/basic/utilities

1 file changed

+1
-1
lines changed

docs/specification/draft/basic/utilities/tasks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ This is to be interpreted as a fine-grained layer in addition to capabilities, f
116116
1. If a server's capabilities include `tasks.requests.tools.call: true`, then clients consider the value of `execution.task`, and handle it accordingly:
117117
1. If `execution.task` is not present or `"never"`, clients **MUST NOT** attempt to invoke the tool as a task. Servers **SHOULD** return a `-32601` (Method not found) error if a client attempts to do so. This is the default behavior.
118118
1. If `execution.task` is `"optional"`, clients **MAY** invoke the tool as a task or as a normal request.
119-
1. If `execution.task` is `"always"`, clients **SHOULD** invoke the tool as a task. Servers **MAY** return a `-32601` (Method not found) error if a client does not attempt to do so.
119+
1. If `execution.task` is `"always"`, clients **MUST** invoke the tool as a task. Servers **MUST** return a `-32601` (Method not found) error if a client does not attempt to do so.
120120

121121
## Protocol Messages
122122

0 commit comments

Comments
 (0)