Package io.agentscope.harness.agent.tool
package io.agentscope.harness.agent.tool
-
ClassesClassDescriptionTool that generates a new subagent spec from a natural-language description and either persists it to
subagents/<name>.md(whereDynamicSubagentsMiddlewarewill pick it up on the next reasoning step) or returns the markdown for human review.Simple subagent tool for agent-internal use.Agent-callabledeliver_artifacttool: downloads a file from the agent filesystem (e.g. a sandbox workspace) and delegates the transport to a configuredArtifactDeliveryTarget.File system tools backed by aAbstractFilesystem, exposing read/write/edit/grep/glob operations as agent-callable tools.Tool for reading specific lines from memory files, typically used afterMemorySearchToolto fetch surrounding context.Dedicated tool for persisting user memories to bothMEMORY.mdand today's daily ledger (memory/YYYY-MM-DD.md).Tool for searching through persisted memories (MEMORY.md and memory/*.md files).The three model-facing tools that drive plan mode, all backed by a sharedPlanModeManager.plan_enter: enter read-only plan mode.plan_exit: request approval, then leave plan mode for BUILD.plan_write: create / overwrite the plan markdown file.Convenience tool that lets the agent propose a brand-new skill in one call: name + description + body + optional scripts.Tool for searching past session transcripts and viewing session history.Shell execution tool backed by aAbstractSandboxFilesystem.Configuration forSkillManageTool.Agent-callable tool that lets aReActAgentcreate, edit, patch, and archive skills in its workspace.Unified tool for background task lifecycle management.Unified AgentTeams tool.Tool that blocks until async results arrive, either for a specific task barrier or (legacy) until any message appears in the session inbox.Builtin web tools (web_fetch,web_search) for Managed Agents / Harness.