程序包 io.agentscope.core.tool
package io.agentscope.core.tool
-
类说明Interface for agent tools that can be called by models.已过时。Default implementation of ToolResultConverter.Interface for extended model that adds properties to tool parameters.A no-op implementation of ToolEmitter that silently discards all emitted chunks.An external tool implementation that only contains schema definition without execution logic.Simple implementation of ExtendedModel using maps.A
ToolGroupthat is bound to a specific skill.Builder for constructing SkillToolGroup instances.Annotation to mark a method as a tool that can be invoked by AI agents.Abstract base class for tools that participate in permission evaluation and ReAct execution.Fluent builder forToolBasesubclasses.Parameters for tool invocation.Builder for ToolCallParam.Defaults for the dangerous-path and dangerous-command lists consulted by tool self-checks.Interface for emitting streaming responses during tool execution.已过时。UseRuntimeContextinstead.Builder for ToolExecutionContext.已过时。Part of theToolExecutionContextlayer which is superseded byRuntimeContext.Represents a named group of tools with activation state.Builder for constructing ToolGroup instances.Defines who manages aToolGroup's activation lifecycle.Toolkit manages the registration, retrieval, and execution of agent tools.Fluent builder for registering tools with optional configuration.Implemented by middleware (or other components) that hold a reference to aToolkit.Configuration for Toolkit execution behavior.Builder for ToolkitConfig.Annotation to describe parameters of a tool method.Converts tool method return values to ToolResultBlock.A victools JSON SchemaModulethat readsToolParamannotations to populate"description"and"required"in the generated schema.Options for customizing module behavior.Exception thrown to signal that a tool execution should be suspended and handled externally.Unified validator for tool-related operations.
ToolExecutionContextlayer which is superseded byRuntimeContext.