Interface McpToolArguments<A>
- Type Parameters:
A- bound argument type
Shallowly immutable arguments for one MCP tool invocation.
The arguments carrier is safe for concurrent access. The converted argument
value is application-defined and retains its own mutability and thread-safety
contract; this type's ThreadSafe annotation does not make that value
thread-safe.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionReturns arguments converted to the registration's declared Java type.Returns the validated immutable JSON object received on the wire.
-
Method Details
-
getConvertedArguments
Returns arguments converted to the registration's declared Java type. The returned application value retains its own mutability and thread-safety contract.- Returns:
- converted arguments
-
getRawArguments
Returns the validated immutable JSON object received on the wire.- Returns:
- raw arguments
-