You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/specification/draft/basic/utilities/tasks.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ To retrieve the state of a task, requestors send a `tasks/get` request:
141
141
"result": {
142
142
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
143
143
"keepAlive": 30000,
144
-
"pollFrequency": 5000,
144
+
"pollInterval": 5000,
145
145
"status": "submitted",
146
146
"_meta": {
147
147
"modelcontextprotocol.io/related-task": {
@@ -247,7 +247,7 @@ To retrieve a list of tasks, requestors send a `tasks/list` request. This operat
247
247
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
248
248
"status": "working",
249
249
"keepAlive": 30000,
250
-
"pollFrequency": 5000
250
+
"pollInterval": 5000
251
251
},
252
252
{
253
253
"taskId": "abc123-def456-ghi789",
@@ -357,7 +357,7 @@ stateDiagram-v2
357
357
1. Receivers **MAY** override the requested `keepAlive` duration.
358
358
1. Receivers **MUST** include the actual `keepAlive` duration (or `null` for unlimited) in `tasks/get` responses.
359
359
1. After a task reaches a terminal status (`completed`, `failed`, or `cancelled`) and its `keepAlive` duration has elapsed, receivers **MAY** delete the task and its results.
360
-
1. Receivers **MAY** include a `pollFrequency` value (in milliseconds) in `tasks/get` responses to suggest polling intervals. Requestors **SHOULD** respect this value when provided.
360
+
1. Receivers **MAY** include a `pollInterval` value (in milliseconds) in `tasks/get` responses to suggest polling intervals. Requestors **SHOULD** respect this value when provided.
361
361
362
362
### Result Retrieval
363
363
@@ -598,7 +598,7 @@ A task represents the execution state of a request. The task metadata includes:
598
598
599
599
-`taskId`: Unique identifier for the task
600
600
-`keepAlive`: Time in milliseconds that results will be kept available after completion
601
-
-`pollFrequency`: Suggested time in milliseconds between status checks
601
+
-`pollInterval`: Suggested time in milliseconds between status checks
0 commit comments