Uses of Class
io.meeds.mcp.server.model.SimpleToolDefinition
Packages that use SimpleToolDefinition
-
Uses of SimpleToolDefinition in io.meeds.mcp.server.model
Methods in io.meeds.mcp.server.model that return types with arguments of type SimpleToolDefinitionModifier and TypeMethodDescriptionToolDefinitionMethods.tools()Returns the value of thetoolsrecord component.Constructors in io.meeds.mcp.server.model with parameters of type SimpleToolDefinitionModifierConstructorDescriptionSimpleToolDefinition(SimpleToolDefinition simpleToolDefinition) Copies a definition, its icon, its space scope and its unknown keys included.Constructor parameters in io.meeds.mcp.server.model with type arguments of type SimpleToolDefinitionModifierConstructorDescriptionToolDefinitionMethods(List<SimpleToolDefinition> tools, String icon) Creates an instance of aToolDefinitionMethodsrecord class. -
Uses of SimpleToolDefinition in io.meeds.mcp.server.service
Methods in io.meeds.mcp.server.service that return SimpleToolDefinitionModifier and TypeMethodDescriptionMcpServerToolService.getToolDefinition(String toolName) McpServerToolService.getToolDefinitionByMethodName(String methodName) Methods in io.meeds.mcp.server.service that return types with arguments of type SimpleToolDefinitionMethods in io.meeds.mcp.server.service with parameters of type SimpleToolDefinitionModifier and TypeMethodDescriptionMcpToolSpaceScopeService.enforce(String toolName, SimpleToolDefinition toolDefinition, String toolInput, ActingIdentity actingIdentity) Checks a call against the space scope of its acting identity.booleanMcpServerToolService.isAllowedTool(SimpleToolDefinition toolDefinition, org.springframework.security.core.Authentication authentication) Tells whether the authenticated caller may execute, or even see, one given tool: the MCP server must be globally on, and the token must carry a scope matching the tool's read or write nature.static booleanMcpToolSpaceScopeService.isReadTool(SimpleToolDefinition toolDefinition) The rule that tells a read from a write for a call limited to one space, shared with the views that show it.booleanMcpToolSpaceScopeService.mayEdit(SimpleToolDefinition toolDefinition, String toolInput, String userName) Tells whether a person could edit, in person, the object a write reaches, for a write whosespace_scopedeclaresspace_role: editor: the caller that runs a digital worker's write for a person asks it before letting the write run for them. -
Uses of SimpleToolDefinition in io.meeds.mcp.server.util
Methods in io.meeds.mcp.server.util that return types with arguments of type SimpleToolDefinitionModifier and TypeMethodDescriptionstatic List<SimpleToolDefinition> McpToolUtils.parseToolDefinitions(URL url) Parses oneai-tool-definitions.jsonresource.static List<SimpleToolDefinition> McpToolUtils.parseToolDefinitions(URL url, Collection<String> leftOutToolNames) Same asMcpToolUtils.parseToolDefinitions(URL), and adds the name of each tool left out for a key this server does not know to the given collection.