@@ -390,17 +390,41 @@ public abstract void subscribeToTask(@NonNull TaskIdParams request,
390390 * @throws A2AClientException if retrieving the extended agent card fails for any reason
391391 */
392392 public AgentCard getExtendedAgentCard () throws A2AClientException {
393- return getExtendedAgentCard (null );
393+ return getExtendedAgentCard (null , null );
394394 }
395395
396396 /**
397397 * Retrieve the extended AgentCard.
398398 *
399+ * @param tenant Optional tenant
400+ * @return the extended AgentCard
401+ * @throws A2AClientException if retrieving the extended agent card fails for any reason
402+ */
403+ public AgentCard getExtendedAgentCard (@ Nullable String tenant ) throws A2AClientException {
404+ return getExtendedAgentCard (tenant , null );
405+ }
406+
407+ /**
408+ * Retrieve the extended AgentCard.
409+ *
410+ * @param context optional client call context for the request (may be {@code null})
411+ * @return the extended AgentCard
412+ * @throws A2AClientException if retrieving the extended agent card fails for any reason
413+ */
414+ public AgentCard getExtendedAgentCard (@ Nullable ClientCallContext context ) throws A2AClientException {
415+ return getExtendedAgentCard (null , context );
416+ }
417+
418+ /**
419+ * Retrieve the extended AgentCard.
420+ *
421+ * @param tenant Optional tenant
399422 * @param context optional client call context for the request (may be {@code null})
400423 * @return the extended AgentCard
401424 * @throws A2AClientException if retrieving the extended agent card fails for any reason
402425 */
403- public abstract AgentCard getExtendedAgentCard (@ Nullable ClientCallContext context ) throws A2AClientException ;
426+ public abstract AgentCard getExtendedAgentCard (@ Nullable String tenant ,
427+ @ Nullable ClientCallContext context ) throws A2AClientException ;
404428
405429 /**
406430 * Close the transport and release any associated resources.
0 commit comments