Skip to content

Commit 42b1c21

Browse files
committed
SEP-2557: Fix SEP links and minor errors
1 parent 3f499b3 commit 42b1c21

6 files changed

Lines changed: 181 additions & 239 deletions

File tree

docs/seps/2557-adapt-tasks-for-stateless-and-sessionless-protocol.mdx

Lines changed: 21 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ Clients **SHOULD** continue polling until the task reaches a terminal status (`c
129129
{
130130
"jsonrpc": "2.0",
131131
"id": 3,
132-
"resultType": "task",
133132
"result": {
133+
"resultType": "task",
134134
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
135135
"status": "working",
136136
"statusMessage": "The operation is now in progress.",
@@ -152,8 +152,8 @@ When a task reaches a terminal status (`completed`, `failed`, or `cancelled`), t
152152
{
153153
"jsonrpc": "2.0",
154154
"id": 4,
155-
"resultType": "task",
156155
"result": {
156+
"resultType": "task",
157157
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
158158
"status": "completed",
159159
"createdAt": "2025-11-25T10:30:00Z",
@@ -179,8 +179,8 @@ When a task reaches a terminal status (`completed`, `failed`, or `cancelled`), t
179179
{
180180
"jsonrpc": "2.0",
181181
"id": 5,
182-
"resultType": "task",
183182
"result": {
183+
"resultType": "task",
184184
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
185185
"status": "failed",
186186
"statusMessage": "Tool execution failed: API rate limit exceeded",
@@ -205,8 +205,8 @@ When a task requires input from the client (indicated by the `input_required` st
205205
{
206206
"jsonrpc": "2.0",
207207
"id": 6,
208-
"resultType": "task",
209208
"result": {
209+
"resultType": "task",
210210
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
211211
"status": "input_required",
212212
"createdAt": "2025-11-25T10:30:00Z",
@@ -266,8 +266,8 @@ Servers **MAY** set an optional `requestState` string on any `Task` object to pa
266266
{
267267
"jsonrpc": "2.0",
268268
"id": 6,
269-
"resultType": "task",
270269
"result": {
270+
"resultType": "task",
271271
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
272272
"status": "input_required",
273273
"createdAt": "2025-11-25T10:30:00Z",
@@ -523,8 +523,8 @@ To enable clients to distinguish between different response types without inspec
523523
{
524524
"jsonrpc": "2.0",
525525
"id": 3,
526-
"resultType": "task",
527526
"result": {
527+
"resultType": "task",
528528
"taskId": "786512e2-9e0d-44bd-8f29-789f820fe840",
529529
"status": "working",
530530
"createdAt": "2025-11-25T10:30:00Z",
@@ -821,8 +821,8 @@ The `failed` status **MUST NOT** be used to represent non-JSON-RPC errors, such
821821
{
822822
"jsonrpc": "2.0",
823823
"id": 4,
824-
"resultType": "task",
825824
"result": {
825+
"resultType": "task",
826826
"taskId": "786512e2-9e0d-44bd-8f29-789f820fe840",
827827
"status": "failed",
828828
"createdAt": "2025-11-25T10:30:00Z",
@@ -845,8 +845,8 @@ For tool calls that complete successfully at the protocol level but return an ap
845845
{
846846
"jsonrpc": "2.0",
847847
"id": 5,
848-
"resultType": "task",
849848
"result": {
849+
"resultType": "task",
850850
"taskId": "786512e2-9e0d-44bd-8f29-789f820fe840",
851851
"status": "completed",
852852
"createdAt": "2025-11-25T10:30:00Z",

0 commit comments

Comments
 (0)