Package akka.javasdk.agent
Interface RemoteMcpTools.ToolInterceptorContext
- Enclosing interface:
RemoteMcpTools
@DoNotInherit
public static interface RemoteMcpTools.ToolInterceptorContext
Context details about the intercepted MCP tool call.
Not for user extension.
-
Method Summary
-
Method Details
-
toolName
String toolName()- Returns:
- The name of the tool on the MCP server. When the runtime renames a tool for the model because of a name clash, this is still the name on the MCP server.
-
isError
default boolean isError()- Returns:
- true when the MCP server reported the tool call result as an error. Always false in
RemoteMcpTools.ToolInterceptor.interceptRequest(ToolInterceptorContext, String).
-