import { BaseTool } from './BaseTool'; import { Observation } from '../types/types'; import { ParametersType } from './ToolTypes'; const noToolParams = [] as const; type NoToolParamsType = typeof noToolParams; export class NoTool extends BaseTool { constructor() { super('noTool', 'A placeholder tool that performs no action', noToolParams, 'This tool does not require any input or perform any action.', 'Does nothing.'); } async execute(args: ParametersType): Promise { // Since there are no parameters, args will be an empty object return [{ type: 'text', text: 'This tool does nothing.' }]; } }