| import type { AnyAgentTool, OpenClawPluginApi } from "openclaw/plugin-sdk/llm-task"; | |
| import { createLlmTaskTool } from "./src/llm-task-tool.js"; | |
| export default function register(api: OpenClawPluginApi) { | |
| api.registerTool(createLlmTaskTool(api) as unknown as AnyAgentTool, { optional: true }); | |
| } | |