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
I have checked that this question would not be more appropriate as an issue in a specific repository
I have searched existing discussions and documentation for answers
Question Category
Protocol Specification
SDK Usage
Server Implementation
General Implementation
Documentation
Other
Your Question
Can Progress token be used in conjunction with Tasks such that the progres is displayed in calls to tasks/get rather than sent as a notification. For example, consider the following task request and response and the subsequent tasks/get response. Is the response valid?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
Can Progress token be used in conjunction with Tasks such that the progres is displayed in calls to tasks/get rather than sent as a notification. For example, consider the following task request and response and the subsequent tasks/get response. Is the response valid?
REQUEST
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_weather",
"arguments": {
"city": "New York",
"_meta": {
"progressToken": "abc123"
}
},
"task": {
"ttl": 60000
}
}
}
RESPONSE
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"task": {
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
"status": "working",
"statusMessage": "The operation is now in progress.",
"createdAt": "2025-11-25T10:30:00Z",
"lastUpdatedAt": "2025-11-25T10:40:00Z",
"ttl": 60000,
"pollInterval": 5000
}
}
}
CALL TO TASKS/GET
{
"jsonrpc": "2.0",
"id": 3,
"method": "tasks/get",
"params": {
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840"
}
}
RESPONSE
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"taskId": "786512e2-9e0d-44bd-8f29-789f320fe840",
"status": "working",
"statusMessage": "The operation is still in progress.",
"createdAt": "2025-11-25T10:30:00Z",
"lastUpdatedAt": "2025-11-25T10:40:00Z",
"ttl": 30000,
"pollInterval": 5000
}
"params": {
"progressToken": "abc123",
"progress": 50,
"total": 100,
"message": "Still working on it..."
}
}
Essentially, I am asking if progress token can be combined with tasks/get responses.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions