Skip to content

Commit 7ab865a

Browse files
committed
Fix inconsistency in task capabilities spec
1 parent a888e22 commit 7ab865a

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
@@ -92,7 +92,7 @@ Clients declare if they support tasks, and if so, which client-side requests can
9292

9393
During the initialization phase, both parties exchange their `tasks` capabilities to establish which operations support task-based execution. Requestors **MUST** only augment requests with task metadata if the corresponding capability has been declared by the receiver.
9494

95-
For example, if a server's capabilities include `tasks.requests.tools.call: true`, then clients may augment `tools/call` requests with task metadata. If a client's capabilities include `tasks.requests.sampling.createMessage: true`, then servers may augment `sampling/createMessage` requests with task metadata.
95+
For example, if a server's capabilities include `tasks.requests.tools.call: {}`, then clients may augment `tools/call` requests with task metadata. If a client's capabilities include `tasks.requests.sampling.createMessage: {}`, then servers may augment `sampling/createMessage` requests with task metadata.
9696

9797
If `capabilities.tasks` is not defined, the peer **MUST NOT** attempt to create tasks during requests.
9898

0 commit comments

Comments
 (0)