feat: add agents_list tool

This commit is contained in:
Peter Steinberger
2026-01-08 07:06:36 +00:00
parent 0ba72477de
commit 2b29b86ab5
10 changed files with 318 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import type { ClawdbotConfig } from "../config/config.js";
import { createBrowserTool } from "./tools/browser-tool.js";
import { createCanvasTool } from "./tools/canvas-tool.js";
import { createAgentsListTool } from "./tools/agents-list-tool.js";
import type { AnyAgentTool } from "./tools/common.js";
import { createCronTool } from "./tools/cron-tool.js";
import { createDiscordTool } from "./tools/discord-tool.js";
@@ -37,6 +38,7 @@ export function createClawdbotTools(options?: {
createTelegramTool(),
createWhatsAppTool(),
createGatewayTool({ agentSessionKey: options?.agentSessionKey }),
createAgentsListTool({ agentSessionKey: options?.agentSessionKey }),
createSessionsListTool({
agentSessionKey: options?.agentSessionKey,
sandboxed: options?.sandboxed,