Annotation Interface A2ATenantId


@Retention(RUNTIME) @Target(PARAMETER) public @interface A2ATenantId
Marks a parameter that will be set as the tenant on the outgoing A2A MessageSendParams, rather than being included as a TextPart in the message content.

The tenant identifier scopes the message to a specific tenant in a multi-tenant A2A deployment. When null, no tenant will be sent and the server will apply its default tenant resolution.

Example:


public interface MyA2AAgent {

    @A2AClientAgent(a2aServerUrl = "http://localhost:8080", outputKey = "response")
    String chat(@V("question") String question,
                @A2AContextId String contextId,
                @A2ATenantId String tenant);
}