Uses of Record Class
group.worldstandard.pudel.api.agent.ToolResult
Packages that use ToolResult
-
Uses of ToolResult in group.worldstandard.pudel.api.agent
Methods in group.worldstandard.pudel.api.agent that return ToolResultModifier and TypeMethodDescriptionAgentToolRegistry.executeTool(String toolName, AgentToolContext context, Map<String, Object> parameters) Execute a tool by name with the given context and parameters.McpToolRegistry.executeTool(String toolName, AgentToolContext context, Map<String, Object> parameters) Execute a tool by name.static ToolResultCreates a ToolResult representing a failed tool execution.static ToolResultToolResult.notAvailable(String toolName, String reason) Creates a ToolResult indicating that a tool is not available for execution.static ToolResultCreates a ToolResult indicating that the specified tool was not found.static ToolResultToolResult.permissionDenied(String toolName, String reason) Creates a ToolResult indicating that the tool execution was denied due to insufficient permissions.static ToolResultCreates a successful tool execution result.