Uses of Record Class
io.meeds.mcp.server.model.McpToolGrantConstraint
Packages that use McpToolGrantConstraint
-
Uses of McpToolGrantConstraint in io.meeds.mcp.server.plugin
Methods in io.meeds.mcp.server.plugin that return McpToolGrantConstraintModifier and TypeMethodDescriptionMcpToolGrantConstraintEvaluator.proposeConstraint(String toolName, Map<String, Object> arguments) Derives the argument limit an approval card may offer for this call, for example "only recipients in example.com" when every recipient is there.Methods in io.meeds.mcp.server.plugin with parameters of type McpToolGrantConstraint -
Uses of McpToolGrantConstraint in io.meeds.mcp.server.service
Methods in io.meeds.mcp.server.service that return McpToolGrantConstraintModifier and TypeMethodDescriptionMcpToolGrantService.proposeConstraint(String toolName, Map<String, Object> arguments) Derives the argument limit an approval card may offer, from the tool's own evaluator.Methods in io.meeds.mcp.server.service with parameters of type McpToolGrantConstraintModifier and TypeMethodDescriptionMcpToolGrantService.createGrant(McpToolGrantRequest request, McpToolGrantChoice choice, McpToolGrantConstraint offeredConstraint) Builds and stores the grant the user chose on a card.booleanMcpToolApprovalService.requestApproval(String id, String conversationId, String toolName, String toolInput, String username, McpToolGrantRequest grantRequest, boolean grantable, McpToolGrantConstraint offeredConstraint) Asks the user to approve a call on a card, offering "Always allow" when the call is grantable, and waits for the answer.