Interface McpStructuredContentContext
Context supplied to
McpResponseMarshaler during structured-content conversion.- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescription@NonNull Class<? extends McpEndpoint> Provides the endpoint class that produced the structured content.Provides the session context active for the tool call.Provides the tool-call context for the current structured content marshaling operation.Provides the tool name whose structured content is being marshaled.
-
Method Details
-
getEndpointClass
@NonNull Class<? extends McpEndpoint> getEndpointClass()Provides the endpoint class that produced the structured content.- Returns:
- the endpoint class
-
getToolName
Provides the tool name whose structured content is being marshaled.- Returns:
- the tool name
-
getToolCallContext
Provides the tool-call context for the current structured content marshaling operation.- Returns:
- the tool-call context
-
getSessionContext
Provides the session context active for the tool call.- Returns:
- the session context
-