Table of Contents

Namespace JD.AI.Core.Tools

Classes

BatchEditTools

Tool for applying multiple edits to one or more files in a single atomic operation. If any edit fails validation, no files are modified.

BenchmarkTools

Parity benchmark harness for evaluating JD.AI capability coverage against target agent capability surfaces.

BrowserTools

Browser automation tools for web interaction, navigation, and capture. Uses system browser for simple ops and headless Chrome/Edge for advanced ops.

CapabilityTools

Self-introspection and capability discovery tools. Enables the agent to understand its own tools, analyze usage, and suggest improvements.

ChannelOpsTools

Operational tools for messaging channels — list, status, send, and read. Requires an IChannelRegistry for channel access.

ChannelReactionTools

Semantic Kernel tool plugin that lets agents add emoji reactions to messages. The agent chooses the emoji — useful for expressing acknowledgment, status, or emotion.

ClipboardTools

Tools for reading from and writing to the system clipboard. Uses platform-specific commands (pbcopy/pbpaste, xclip, clip.exe/PowerShell).

CompositeToolLoadoutRegistry

Chains multiple IToolLoadoutRegistry instances, checking each in order from primary to fallback. Used to overlay user-defined (file-based) loadouts on top of the built-in registry.

CoreToolRegistrar

Registers essential kernel tool plugins that work without session infrastructure. This is the shared registration path used by both the CLI and the Daemon/Gateway.

CoreToolRegistration

Holds references to the core tool instances registered by Register(Kernel, ProviderModelInfo?). Used by both CLI and Daemon/Gateway paths.

DiffTools

Tools for creating and applying unified diff patches. Enables structured multi-location file edits via standard patch format.

DiscordRichTools

Rich Discord interaction tools — polls, embeds, threads. Agent-callable Semantic Kernel functions for Discord-specific features.

EncodingCryptoTools

Encoding, decoding, hashing, and cryptographic utility tools for common developer operations.

EnvironmentTools

Tools for inspecting the runtime environment, OS, and system information.

ExecProcessTools

Native exec/process tool surface for background session lifecycle management.

FileToolLoadoutRegistry

An IToolLoadoutRegistry that discovers and loads *.loadout.yaml files from one or more configured search paths.

FileTools

File system tools for the AI agent.

GatewayOpsTools

Gateway lifecycle and configuration tools — status, config, restart controls. Operates against the local gateway process or a configured remote endpoint.

GitHubTools

Native GitHub tools for issue, PR, and repository workflows. Uses the gh CLI for authentication and API access.

GitTools

Git tools for the AI agent.

LoadoutValidator

Validates ToolLoadout definitions against a registry.

McpEcosystemTools

MCP ecosystem import, sync, and drift detection tools. Handles bidirectional config reconciliation across Claude, OpenClaw, and JD.AI.

McpTransportTools

Tools for managing MCP (Model Context Protocol) server connections, transport configuration, credential management, and diagnostics.

MemoryTools

Semantic memory tools — store, search, and forget.

MigrationTools

Migration tools for importing Claude Code skills, plugins, and hooks into JD.AI-native capabilities.

MultimodalTools

Multimodal analysis tools — image metadata, PDF text extraction, and media inspection.

NotebookTools

Code execution (REPL) tools for running snippets in various languages.

OpenClawCompatibilityTools

OpenClaw-compatible tool aliases and shared envelope parameters.

OpenClawToolAliasResolver

Resolves OpenClaw-compatible tool aliases to JD.AI canonical tool names.

ParityDocsTools

Tools for generating capability documentation, compatibility matrices, migration guides, and governance runbooks from source metadata.

PathGuard

Guards file-system operations against accessing protected user data directories. Any path that resolves into a protected directory is rejected.

PathGuardException

Thrown when an AI tool attempts to access a protected path.

PolicyTools

Policy-as-code tools for governance, audit, and trust evaluation. Exposes the governance infrastructure as agent-callable functions.

ProcessExecRequest

Input for exec.

ProcessSessionLogs

Log payload for a managed process session.

ProcessSessionManager

Manages lifecycle of background and foreground process sessions used by the exec/process tool surface.

ProcessSessionSnapshot

Snapshot of a managed process session.

QuestionTools

Tool for presenting structured questions to the user and collecting validated answers.

SchedulerTools

Scheduled task management tools — create, list, update, and remove recurring or one-shot tasks. Tasks are stored in-memory for the current session; persistence is optional via SessionStore.

SearchTools

Code search tools — grep and glob — for the AI agent.

ShellTools

Shell execution tool for the AI agent.

SkillParityTools

Tools for tracking and managing OpenClaw bundled-skill parity in JD.AI. Provides a canonical parity matrix, pack grouping, and gap analysis.

SshTools

SSH remote execution tools for the AI agent. Allows connecting to remote machines and executing commands.

SystemInfoTools

Self-identity and system information tools. Enables the agent to report what model/provider it is running on, its capabilities, and runtime metadata.

TailscaleTools

Tools for Tailscale integration: status detection, Tailnet machine discovery, remote orchestration, and credential configuration.

TaskTools

Task/todo management tools for the agent to track work items within a session.

ThinkTools

A scratchpad/thinking tool that lets the agent reason out loud without side effects. The agent can use this to organize thoughts, plan steps, or reason through complex logic.

ToolDiscoveryTools

Allows agents to discover, search, and dynamically activate tools that are not in their current loadout. This is the key mechanism enabling agents to operate with a minimal toolset while still having access to the full tool registry on demand — preventing context window overflow.

ToolLoadout

Represents a named, curated set of tools to expose to an agent. Defines which plugins are loaded by default, which are discoverable on demand, and which are explicitly disabled.

ToolLoadoutBuilder

Fluent builder for creating ToolLoadout instances.

ToolLoadoutRegistry

Default implementation of IToolLoadoutRegistry. Pre-populated with five built-in loadouts:

  • ToolLoadout.Names.Minimal
  • ToolLoadout.Names.Developer
  • ToolLoadout.Names.DevOps
  • ToolLoadout.Names.Research
  • ToolLoadout.Names.Full
ToolLoadoutYamlSerializer

Serializes and deserializes ToolLoadout instances to and from YAML.

UsageTools

Tools for tracking token usage and costs across the session.

WebSearchTools

Web search tool using Bing Search API (via Copilot connector auth or direct API key).

WebTools

Web tools — fetch URLs and convert HTML to readable text.

WellKnownLoadouts

Well-known loadout names provided by the built-in ToolLoadoutRegistry.

WorktreeManager

Manages git worktree lifecycle for isolated agent sessions. Created via --worktree / -w CLI flag.

Interfaces

IToolLoadoutRegistry

Registry for managing and resolving ToolLoadout definitions.

Enums

ProcessSessionStatus

State of an exec/process session.

SafetyTier

Defines the safety tier for a tool.

ToolCategory

Categories for grouping tool plugins into logical domains. Used by ToolLoadout to include or exclude related tools as a set.