mirror of https://github.com/openclaw/openclaw.git
7 lines
296 B
TypeScript
7 lines
296 B
TypeScript
import type { AnyAgentTool, OpenClawPluginApi } from "../../src/plugins/types.js";
|
|
import { createLlmTaskTool } from "./src/llm-task-tool.js";
|
|
|
|
export default function register(api: OpenClawPluginApi) {
|
|
api.registerTool(createLlmTaskTool(api) as unknown as AnyAgentTool, { optional: true });
|
|
}
|