Spaces:
Paused
Paused
File size: 324 Bytes
b43bc6c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import { Controller, Get } from '@nestjs/common';
import { ToolsService } from './tools.service';
@Controller('tools')
export class ToolsController {
constructor(private readonly tools: ToolsService) {}
/** Public catalog of available agent tools. */
@Get()
list() {
return { tools: this.tools.list() };
}
}
|