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/tools/function-tools.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,6 +241,20 @@ Define your tool function and wrap it using the `LongRunningFunctionTool` class:
241
241
242
242
Agent client received an event with long running function calls and check the status of the ticket. Then Agent client can send the intermediate or final response back to update the progress. The framework packages this value (even if it's None) into the content of the `FunctionResponse` sent back to the LLM.
243
243
244
+
!!! note "Note: Long running function response with Resume feature"
245
+
246
+
If your ADK agent workflow is configured with the
247
+
[Resume](/adk-docs/runtime/resume/) feature, you also must include
248
+
the Invocation ID (`invocation_id`) parameter with the long running
249
+
function response. The Invocation ID you provide must be the same
250
+
invocation that generated the long running function request, otherwise
251
+
the system starts a new invocation with the response. If your
252
+
agent uses the Resume feature, consider including the Invocation ID
253
+
as a parameter with your long running function request, so it can be
254
+
included with the response. For more details on using the Resume
0 commit comments